mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-22 17:38:07 +01:00
[Glitch] Fix preview cards with long titles erroneously causing layout changes
Port 742eb549ab
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
parent
43775c8ea4
commit
95c95da891
1 changed files with 2 additions and 0 deletions
|
@ -2932,6 +2932,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;
|
||||||
|
@ -4228,6 +4229,7 @@ input.glitch-setting-text {
|
||||||
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 a new issue