fix: prevent layout shift on first load in PWA mode
Replace space-between with flex-start + margin-top:auto on footer and add gap to avoid wide spacing while async components are loading. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -147,7 +147,8 @@ h1 {
|
||||
display: flex;
|
||||
flex: 1;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
justify-content: flex-start;
|
||||
gap: 1rem;
|
||||
|
||||
.title {
|
||||
text-align: center;
|
||||
@@ -168,6 +169,7 @@ footer {
|
||||
display: flex;
|
||||
gap: 1rem;
|
||||
align-items: center;
|
||||
margin-top: auto;
|
||||
}
|
||||
|
||||
.profile-avatar {
|
||||
|
||||
Reference in New Issue
Block a user