Skip to content

Commit

Permalink
Fix search icon position on mobile (mastodon#29384)
Browse files Browse the repository at this point in the history
  • Loading branch information
ronilaukkarinen authored Feb 26, 2024
1 parent bbf6cb6 commit 1cb74ee
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/javascript/styles/mastodon/components.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5195,7 +5195,6 @@ a.status-card {
.icon {
position: absolute;
top: 12px + 2px;
inset-inline-start: 16px - 2px;
display: inline-block;
opacity: 0;
transition: all 100ms linear;
Expand All @@ -5210,6 +5209,10 @@ a.status-card {
pointer-events: auto;
opacity: 1;
}

@media screen and (min-width: $no-gap-breakpoint) {
inset-inline-start: 16px - 2px;
}
}

.icon-search {
Expand Down

0 comments on commit 1cb74ee

Please sign in to comment.