[Glitch] Fix search icon position on mobile

Port 1cb74eeec0 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
pull/2649/head
Roni Laukkarinen 2024-02-26 02:57:48 +02:00 committed by Claire
parent 658911c268
commit 3fc4859279
1 changed files with 4 additions and 1 deletions

View File

@ -5720,7 +5720,6 @@ a.status-card {
.icon { .icon {
position: absolute; position: absolute;
top: 12px + 2px; top: 12px + 2px;
inset-inline-start: 16px - 2px;
display: inline-block; display: inline-block;
opacity: 0; opacity: 0;
transition: all 100ms linear; transition: all 100ms linear;
@ -5735,6 +5734,10 @@ a.status-card {
pointer-events: auto; pointer-events: auto;
opacity: 1; opacity: 1;
} }
@media screen and (min-width: $no-gap-breakpoint) {
inset-inline-start: 16px - 2px;
}
} }
.icon-search { .icon-search {