1
0
Fork 0
forked from fedi/mastodon

fix read more button overlapping thread line bug (#25706)

This commit is contained in:
Trevor Wolf 2023-07-04 22:57:46 +10:00 committed by GitHub
parent 12fa24a885
commit 182fd93a07
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1127,6 +1127,8 @@ body > [data-popper-placement] {
} }
&--in-thread { &--in-thread {
$thread-margin: 46px + 10px;
border-bottom: 0; border-bottom: 0;
.status__content, .status__content,
@ -1137,8 +1139,12 @@ body > [data-popper-placement] {
.attachment-list, .attachment-list,
.picture-in-picture-placeholder, .picture-in-picture-placeholder,
.status-card { .status-card {
margin-inline-start: 46px + 10px; margin-inline-start: $thread-margin;
width: calc(100% - (46px + 10px)); width: calc(100% - ($thread-margin));
}
.status__content__read-more-button {
margin-inline-start: $thread-margin;
} }
} }