Skip to content

Commit

Permalink
fix: fix judge fun fact arrow
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronchan32 committed Apr 6, 2024
1 parent 744e89a commit c6af49e
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions src/components/JudgeFunFacts/JudgeFunFacts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,18 @@
max-width: 50ch;
width: fit-content;
border-radius: 0;
margin-top: 1rem;
}
}

[class*='react-tooltip__place-bottom'] {
> .arrow {
.react-tooltip-arrow {
$arrow-size: 6px;
transform: rotate(0deg) !important;
width: 0;
height: 0;
transform: translateY(-8px) !important;
border-left: $arrow-size solid transparent;
border-right: $arrow-size solid transparent;
border-bottom: calc($arrow-size * 2) solid rgba(255, 255, 255, 0.8); /* Change the color as needed */
background-color: transparent;
}
}

0 comments on commit c6af49e

Please sign in to comment.