From b880c4ac539118533808b4f86473b99aa1611a4d Mon Sep 17 00:00:00 2001 From: Michael Weimann Date: Fri, 18 Nov 2022 14:30:04 +0100 Subject: [PATCH] Fix form tooltip positioning --- res/css/views/elements/_Field.pcss | 2 -- res/css/views/elements/_Tooltip.pcss | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/res/css/views/elements/_Field.pcss b/res/css/views/elements/_Field.pcss index c1527971be9..f3d05cf285a 100644 --- a/res/css/views/elements/_Field.pcss +++ b/res/css/views/elements/_Field.pcss @@ -174,8 +174,6 @@ limitations under the License. } .mx_Field_tooltip { - margin-top: -12px; - margin-left: 4px; width: 200px; } diff --git a/res/css/views/elements/_Tooltip.pcss b/res/css/views/elements/_Tooltip.pcss index 7c49d2b59a2..d8d51cc8044 100644 --- a/res/css/views/elements/_Tooltip.pcss +++ b/res/css/views/elements/_Tooltip.pcss @@ -38,7 +38,7 @@ limitations under the License. .mx_Tooltip_chevron { position: absolute; left: -7px; - top: 10px; + top: calc(50% - 6px); width: 0; height: 0; border-top: 7px solid transparent;