From c4f91467463dcbe7629f72869b1d3050e2af80f6 Mon Sep 17 00:00:00 2001 From: Wu Zhou Date: Mon, 9 May 2022 17:05:14 +0800 Subject: [PATCH] config-tools: limit the tooltip box max-width The tooltip box's default width is inconsistent with the screen width. It could run off the configurator window when the tooltip text is long. Limit it to 50%. Tracked-On: #7442 Signed-off-by: Zhou, Wu --- .../packages/configurator/src/pages/Config/ConfigForm.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/misc/config_tools/configurator/packages/configurator/src/pages/Config/ConfigForm.vue b/misc/config_tools/configurator/packages/configurator/src/pages/Config/ConfigForm.vue index 5b42f1562..73cea4385 100644 --- a/misc/config_tools/configurator/packages/configurator/src/pages/Config/ConfigForm.vue +++ b/misc/config_tools/configurator/packages/configurator/src/pages/Config/ConfigForm.vue @@ -171,4 +171,8 @@ export default { position: absolute; right: 0; } + +.n-popover { + max-width: 50%; +} \ No newline at end of file