Skip to content

Commit

Permalink
fix: remove hover padding on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
Enter-tainer committed Sep 30, 2024
1 parent 983f8f7 commit cf15e4e
Showing 1 changed file with 18 additions and 10 deletions.
28 changes: 18 additions & 10 deletions frontend/lib/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@
0% {
background-color: rgba(255, 255, 255, 0);
}

50% {
background-color: var(--review-variant-color);
}

100% {
background-color: rgba(255, 255, 255, 0);
}
Expand Down Expand Up @@ -50,9 +52,11 @@
height: 1em;
vertical-align: 0;
}

.iconify-icon.iconify-inline {
vertical-align: -0.125em;
}

.review_dark_mode .iconify-icon {
color: var(--review-text-color);
}
Expand All @@ -78,16 +82,20 @@
cursor: pointer;
}

[data-review-enabled] {
position: relative;
&::after {
content: "";
position: absolute;
top: 30px;
left: 100%;
width: 30px;
height: calc(100% - 30px);
clip-path: polygon(0 0, 0 100%, 100% 0);
@media not (--mobile) {
[data-review-enabled] {
position: relative;

&::after {
content: "";
position: absolute;
top: 30px;
left: 100%;
width: 30px;
height: calc(100% - 30px);
clip-path: polygon(0 0, 0 100%, 100% 0);
fill: red;
}
}
}

Expand Down

0 comments on commit cf15e4e

Please sign in to comment.