Skip to content

Commit

Permalink
Fix preview cards with long titles erroneously causing layout changes (
Browse files Browse the repository at this point in the history
  • Loading branch information
ClearlyClaire authored Oct 30, 2024
1 parent babee06 commit 742eb54
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/javascript/styles/mastodon/components.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2759,6 +2759,7 @@ a.account__display-name {
flex: 0 1 auto;
display: flex;
flex-direction: column;
contain: inline-size layout paint style;

@media screen and (min-width: $no-gap-breakpoint) {
max-width: 600px;
Expand Down Expand Up @@ -4032,6 +4033,7 @@ $ui-header-logo-wordmark-width: 99px;
overflow: hidden;
border: 1px solid var(--background-border-color);
border-radius: 8px;
contain: inline-size layout paint style;

&.bottomless {
border-radius: 8px 8px 0 0;
Expand Down

0 comments on commit 742eb54

Please sign in to comment.