From 182fd93a076592634d909cca1267cd25c6f87c29 Mon Sep 17 00:00:00 2001 From: Trevor Wolf Date: Tue, 4 Jul 2023 22:57:46 +1000 Subject: [PATCH] fix read more button overlapping thread line bug (#25706) --- app/javascript/styles/mastodon/components.scss | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss index 43c9255d9e3..e66f8bdfe6c 100644 --- a/app/javascript/styles/mastodon/components.scss +++ b/app/javascript/styles/mastodon/components.scss @@ -1127,6 +1127,8 @@ body > [data-popper-placement] { } &--in-thread { + $thread-margin: 46px + 10px; + border-bottom: 0; .status__content, @@ -1137,8 +1139,12 @@ body > [data-popper-placement] { .attachment-list, .picture-in-picture-placeholder, .status-card { - margin-inline-start: 46px + 10px; - width: calc(100% - (46px + 10px)); + margin-inline-start: $thread-margin; + width: calc(100% - ($thread-margin)); + } + + .status__content__read-more-button { + margin-inline-start: $thread-margin; } }