[Glitch] Fix a few visual glitches with link previews in web UI

Port 9984243467 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
shrike
Eugen Rochko 2024-06-12 15:10:51 +02:00 committed by Claire
parent 677f73f793
commit 454dc407f4
1 changed files with 9 additions and 1 deletions

View File

@ -1471,7 +1471,7 @@ body > [data-popper-placement] {
.status__content, .status__content,
.status__action-bar { .status__action-bar {
margin-inline-start: $thread-margin; margin-inline-start: $thread-margin;
width: calc(100% - ($thread-margin)); width: calc(100% - $thread-margin);
} }
.status__content__read-more-button { .status__content__read-more-button {
@ -4366,6 +4366,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%;
} }
@ -10817,6 +10824,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);