0
0

Fix a few visual glitches with link previews in web UI (#30670)

This commit is contained in:
Eugen Rochko 2024-06-12 15:10:51 +02:00 committed by GitHub
parent 19f1c081e1
commit 9984243467
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1411,10 +1411,15 @@ body > [data-popper-placement] {
.audio-player, .audio-player,
.attachment-list, .attachment-list,
.picture-in-picture-placeholder, .picture-in-picture-placeholder,
.more-from-author,
.status-card, .status-card,
.hashtag-bar { .hashtag-bar {
margin-inline-start: $thread-margin; margin-inline-start: $thread-margin;
width: calc(100% - ($thread-margin)); width: calc(100% - $thread-margin);
}
.more-from-author {
width: calc(100% - $thread-margin + 2px);
} }
.status__content__read-more-button { .status__content__read-more-button {
@ -4129,6 +4134,13 @@ a.status-card {
border-end-start-radius: 0; border-end-start-radius: 0;
} }
.status-card.bottomless .status-card__image,
.status-card.bottomless .status-card__image-image,
.status-card.bottomless .status-card__image-preview {
border-end-end-radius: 0;
border-end-start-radius: 0;
}
.status-card.expanded > a { .status-card.expanded > a {
width: 100%; width: 100%;
} }
@ -10229,6 +10241,7 @@ noscript {
} }
.more-from-author { .more-from-author {
box-sizing: border-box;
font-size: 14px; font-size: 14px;
color: $darker-text-color; color: $darker-text-color;
background: var(--surface-background-color); background: var(--surface-background-color);