From 384e350c13e198f8e7d6ca83600bfe26ad2c2303 Mon Sep 17 00:00:00 2001 From: kamre Date: Fri, 1 Oct 2021 01:55:24 +0700 Subject: [PATCH] [GH-1111] Fix height for tooltip (#1123) * Fix height for tooltip. * Use unitless number for line-height. Co-authored-by: Hossein --- webapp/src/widgets/tooltip.scss | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/webapp/src/widgets/tooltip.scss b/webapp/src/widgets/tooltip.scss index 43782b768..e404f2f56 100644 --- a/webapp/src/widgets/tooltip.scss +++ b/webapp/src/widgets/tooltip.scss @@ -9,7 +9,7 @@ $tooltop-vertical-offset: 2px; position: absolute; content: attr(data-tooltip); padding: 2px 4px; - line-height: 1px; + line-height: 1.2; font-size: 1em; text-align: center; color: rgb(255, 255, 255); @@ -87,7 +87,6 @@ $tooltop-vertical-offset: 2px; } // Left tooltip body style &.tooltip-left:hover::after { - left: undefined; top: 50%; right: calc(100% + 2px); transform: translate(-#{$tooltop-vertical-offset}, -50%);