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 <wu.zhou@intel.com>
This commit is contained in:
Wu Zhou 2022-05-09 17:05:14 +08:00 committed by acrnsi-robot
parent 961b5d16f4
commit c4f9146746
1 changed files with 4 additions and 0 deletions

View File

@ -171,4 +171,8 @@ export default {
position: absolute;
right: 0;
}
.n-popover {
max-width: 50%;
}
</style>