Skip to content

Commit

Permalink
Merge pull request #76 from newfold-labs/hotfix/Basic-info-ToolTip-Re…
Browse files Browse the repository at this point in the history
…sponsiveness

Responsive ToolTip
  • Loading branch information
arunshenoy99 authored Sep 9, 2022
2 parents 8744a9f + 1eaa7bb commit d42b013
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/OnboardingSPA/components/Tooltip/stylesheet.scss
Original file line number Diff line number Diff line change
@@ -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;

Expand All @@ -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;
Expand All @@ -40,7 +40,6 @@ $tooltip-arrow-size: 6px;
/* Absolute positioning */
.Tooltip-Tip.top {
top: calc($tooltip-margin * -1);
transform: translateX(2%);
}

/* CSS border triangles */
Expand Down

0 comments on commit d42b013

Please sign in to comment.