mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-20 03:25:17 +01:00
Fix a few visual glitches with link previews in web UI (#30670)
This commit is contained in:
parent
19f1c081e1
commit
9984243467
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user