Skip to content

Commit

Permalink
Fix arrow rounding errors in Chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
angelikatyborska committed Aug 10, 2024
1 parent 73e7d65 commit f21de89
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/components/EmergencyExit.astro
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@
bottom: 32.5%;
right: 30.5%;
left: 40.5%;
overflow: hidden;
}

.arrow-body {
Expand All @@ -245,16 +246,16 @@

.arrow-tip-top {
top: 0;
bottom: 49%;
bottom: 49.4%;
transform-origin: bottom right;
transform: skew(45deg);
transform: skew(45deg) translateX(1px);
}

.arrow-tip-bottom {
top: 51%;
top: 49.4%;
bottom: 0;
transform-origin: top right;
transform: skew(-45deg);
transform: skew(-45deg) translateX(1px);
}

</style>

0 comments on commit f21de89

Please sign in to comment.