mirror of
https://github.com/glitch-soc/mastodon.git
synced 2024-11-23 16:44:04 -05:00
Fix preview cards with long titles erroneously causing layout changes (#32678)
This commit is contained in:
parent
babee06794
commit
742eb549ab
@ -2759,6 +2759,7 @@ a.account__display-name {
|
|||||||
flex: 0 1 auto;
|
flex: 0 1 auto;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
contain: inline-size layout paint style;
|
||||||
|
|
||||||
@media screen and (min-width: $no-gap-breakpoint) {
|
@media screen and (min-width: $no-gap-breakpoint) {
|
||||||
max-width: 600px;
|
max-width: 600px;
|
||||||
@ -4032,6 +4033,7 @@ $ui-header-logo-wordmark-width: 99px;
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
border: 1px solid var(--background-border-color);
|
border: 1px solid var(--background-border-color);
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
|
contain: inline-size layout paint style;
|
||||||
|
|
||||||
&.bottomless {
|
&.bottomless {
|
||||||
border-radius: 8px 8px 0 0;
|
border-radius: 8px 8px 0 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user