mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-25 13:16:40 +00:00
[bugfix/frogend] replace ch units to prevent layout shift on page load (#1301)
This commit is contained in:
parent
90a14abb0c
commit
de74cc6e94
|
@ -62,8 +62,8 @@ body {
|
|||
min-width: 100%;
|
||||
width: 100%;
|
||||
|
||||
grid-template-columns: auto minmax(auto, 90ch) auto;
|
||||
grid-template-columns: auto min(92%, 90ch) auto;
|
||||
grid-template-columns: auto minmax(auto, 50rem) auto;
|
||||
grid-template-columns: auto min(92%, 50rem) auto;
|
||||
grid-template-rows: auto 1fr auto;
|
||||
}
|
||||
|
||||
|
|
|
@ -44,7 +44,7 @@ main {
|
|||
.headerimage {
|
||||
width: 100%;
|
||||
aspect-ratio: 3 / 1;
|
||||
max-height: 30ch;
|
||||
max-height: 16rem;
|
||||
overflow: hidden;
|
||||
box-shadow: $boxshadow;
|
||||
|
||||
|
|
Loading…
Reference in a new issue