From 2e8148595b1ce8518575eb607633d83eedbf714b Mon Sep 17 00:00:00 2001 From: Alexander Platov Date: Fri, 13 Dec 2024 07:15:00 +0300 Subject: [PATCH] Qfix: one-line hot keys in the tooltip (#7446) Signed-off-by: Alexander Platov --- packages/ui/src/components/TooltipInstance.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/ui/src/components/TooltipInstance.svelte b/packages/ui/src/components/TooltipInstance.svelte index b75fda48a1..ce5093d8d4 100644 --- a/packages/ui/src/components/TooltipInstance.svelte +++ b/packages/ui/src/components/TooltipInstance.svelte @@ -531,6 +531,7 @@ .keys { margin-left: 0.5rem; display: flex; + flex-shrink: 0; align-items: center; gap: 0.125rem; } @@ -568,10 +569,9 @@ z-index: 2; } - span.label { + &:not(:has(.key, .keys)) span.label { width: 100%; word-wrap: break-word; - hyphens: auto; } } .no-arrow {