Skip to content

Commit

Permalink
[Glitch] Fix a few visual glitches with link previews in web UI
Browse files Browse the repository at this point in the history
Port 9984243 to glitch-soc

Signed-off-by: Claire <[email protected]>
  • Loading branch information
Gargron authored and ClearlyClaire committed Jun 17, 2024
1 parent 677f73f commit 454dc40
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion app/javascript/flavours/glitch/styles/components.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1471,7 +1471,7 @@ body > [data-popper-placement] {
.status__content,
.status__action-bar {
margin-inline-start: $thread-margin;
width: calc(100% - ($thread-margin));
width: calc(100% - $thread-margin);
}

.status__content__read-more-button {
Expand Down Expand Up @@ -4366,6 +4366,13 @@ a.status-card {
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 {
width: 100%;
}
Expand Down Expand Up @@ -10817,6 +10824,7 @@ noscript {
}

.more-from-author {
box-sizing: border-box;
font-size: 14px;
color: $darker-text-color;
background: var(--surface-background-color);
Expand Down

0 comments on commit 454dc40

Please sign in to comment.