From 1cb74eeec00b413d326308930c48280b4f8325f4 Mon Sep 17 00:00:00 2001 From: Roni Laukkarinen Date: Mon, 26 Feb 2024 02:57:48 +0200 Subject: [PATCH] Fix search icon position on mobile (#29384) --- app/javascript/styles/mastodon/components.scss | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss index 46fda2033d..93f2c0a48b 100644 --- a/app/javascript/styles/mastodon/components.scss +++ b/app/javascript/styles/mastodon/components.scss @@ -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; @@ -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 {