Skip to content

Commit

Permalink
fix(tooltip): Definition tooltip positioning fix (#843)
Browse files Browse the repository at this point in the history
  • Loading branch information
alisonjoseph authored and asudoh committed Jun 1, 2018
1 parent 2ede487 commit 153510c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/tooltip/_tooltip.scss
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,8 @@
@include reset;
@include typescale('delta');

position: relative;

.#{$prefix}--tooltip__trigger {
display: inline-flex;
position: relative;
Expand Down Expand Up @@ -205,7 +207,8 @@

// Tooltip Definition caret - top position
.#{$prefix}--tooltip--definition__top {
top: -0.3rem;
transform: translateY(-100%);
margin-top: rem(-32px);

.#{$prefix}--tooltip__caret {
bottom: -0.2rem;
Expand Down

0 comments on commit 153510c

Please sign in to comment.