From 1eaa7bb6a85a9a381272b1aee2936ed75b581f20 Mon Sep 17 00:00:00 2001 From: Allen Benny Date: Fri, 9 Sep 2022 12:28:34 +0530 Subject: [PATCH] Update stylesheet.scss --- src/OnboardingSPA/components/Tooltip/stylesheet.scss | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/src/OnboardingSPA/components/Tooltip/stylesheet.scss b/src/OnboardingSPA/components/Tooltip/stylesheet.scss index 28c7602a2..3c55dd52f 100644 --- a/src/OnboardingSPA/components/Tooltip/stylesheet.scss +++ b/src/OnboardingSPA/components/Tooltip/stylesheet.scss @@ -1,6 +1,6 @@ $tooltip-text-color: white; -$tooltip-background-color: rgba(0, 0, 0, 0.83); +$tooltip-background-color: rgba(0, 0, 0, 0.75); $tooltip-margin: 35px; $tooltip-arrow-size: 6px; @@ -16,8 +16,8 @@ $tooltip-arrow-size: 6px; position: absolute; border-radius: 4px; left: 50%; - transform: translateX(-50%); - padding: 8px; + transform: translateX(-40%); + padding: 6px; color: $tooltip-text-color; background: $tooltip-background-color; font-size: 12px; @@ -40,11 +40,6 @@ $tooltip-arrow-size: 6px; /* Absolute positioning */ .Tooltip-Tip.top { top: calc($tooltip-margin * -1); - transform: translateX(2%); - - @media (max-width: #{ ($break-mobile)}) { - left: 10%; - } } /* CSS border triangles */