Skip to content

Commit

Permalink
Update tooltip design
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmed-deriv committed Jan 16, 2025
1 parent 390010e commit 64f05db
Showing 1 changed file with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,23 @@
top: 100%;
left: 50%;
transform: translateX(-50%);
margin-top: 8px;
z-index: 1000;
white-space: nowrap;
font-size: 12px;
transition: opacity 0.3s ease, visibility 0.3s ease;
opacity: 0;
visibility: hidden;

&::after {
content: '';
position: absolute;
top: -6px;
left: 50%;
transform: translateX(-50%);
border-width: 0 6px 6px;
border-style: solid;
border-color: transparent transparent rgba(0, 0, 0, 0.75);
}
}

.tooltip.visible {
Expand Down

0 comments on commit 64f05db

Please sign in to comment.