[Glitch] Fix preview cards with long titles erroneously causing layout changes

Port 742eb549abe556ff2c53adfaaddd4ed01789f26e to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Claire 2024-10-30 09:34:56 +01:00
parent 221da1ba04
commit 9a7030fb69
1 changed files with 2 additions and 0 deletions

View File

@ -2941,6 +2941,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;
@ -4237,6 +4238,7 @@ input.glitch-setting-text {
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;