Skip to content

Commit eac75f6

Browse files
committed
Avoiding CLS
1 parent b550a98 commit eac75f6

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/assets/sass/modules/_layout.scss

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ noscript {
111111
flex: 1;
112112
padding-bottom: 0.5em;
113113
content-visibility: auto;
114-
contains-intrinsic-size: 0 374px;
114+
contains-intrinsic-size: 0 320px;
115115
}
116116

117117
/**
@@ -291,8 +291,6 @@ section {
291291
.wrapper-inner {
292292
position: relative;
293293
padding: 1em 0;
294-
content-visibility: auto;
295-
contains-intrinsic-size: 0 500px;
296294
}
297295

298296
.zebra {

src/assets/sass/modules/_responsive.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,10 @@
326326
* Changes in styling for site footer.
327327
*/
328328

329+
.wrapper-footer {
330+
contains-intrinsic-size: 0 374px;
331+
}
332+
329333
.community-details,
330334
.host-details {
331335
display: block;

0 commit comments

Comments
 (0)