Skip to content

Commit fb73594

Browse files
updated new tooltip directions
1 parent 6814f36 commit fb73594

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/Components/Tooltip/Tooltip.scss

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@
4242
}
4343
}
4444
&.#{$tooltip-left},
45-
&.#{$tooltip-right} {
45+
&.#{$tooltip-right},
46+
&.#{$tooltip-top} {
4647
&>.#{$tooltip-text} {
4748
top: auto;
4849
&::after {
@@ -73,10 +74,8 @@
7374
}
7475
&.#{$tooltip-top} {
7576
&>.#{$tooltip-text} {
76-
top: auto;
7777
bottom: 120%;
7878
&::after {
79-
bottom: auto;
8079
top: 100%;
8180
border-color: theme('color-dark') transparent transparent transparent;
8281
}

0 commit comments

Comments
 (0)