1
0
mirror of https://github.com/funamitech/mastodon synced 2024-12-12 21:59:04 +09:00

[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>
This commit is contained in:
Eugen Rochko 2024-06-12 15:10:51 +02:00 committed by Claire
parent 677f73f793
commit 454dc407f4

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);