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