Skip to content

Commit 52c823c

Browse files
committed
Fix layout shift
1 parent f38e297 commit 52c823c

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

static/style.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ a:active {
141141
font-size: 1.5rem;
142142
max-width: 600px;
143143
align-self: center;
144+
flex-shrink: 0;
144145
}
145146

146147
.hero-fluff strong {
@@ -156,6 +157,8 @@ a:active {
156157
flex-direction: column;
157158
align-self: center;
158159
gap: 2px;
160+
flex-basis: 1000px;
161+
flex-shrink: 1;
159162
}
160163

161164
.hero-screenshot {
@@ -437,6 +440,11 @@ a.hljs-built_in {
437440
flex-direction: column;
438441
}
439442

443+
.hero-right {
444+
flex-basis: auto;
445+
width: 100%;
446+
}
447+
440448
.hero-screenshot {
441449
width: 100%;
442450
max-width: 100%;

0 commit comments

Comments
 (0)