Issue #3446078 by mherchel, javi-er: Olivero content shift on page load
parent
6e8fd96b5c
commit
d436711365
|
@ -65,3 +65,12 @@ body.is-fixed .container {
|
|||
padding-block-start: var(--sp5);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Contextual link wrappers load without the ".contextual" CSS class, which
|
||||
* causes layout shifts. We fix this by setting this to position: absolute;
|
||||
*/
|
||||
|
||||
[data-contextual-id]:not(.contextual) {
|
||||
position: absolute;
|
||||
}
|
||||
|
|
|
@ -55,3 +55,11 @@
|
|||
padding-block-start: var(--sp5);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Contextual link wrappers load without the ".contextual" CSS class, which
|
||||
* causes layout shifts. We fix this by setting this to position: absolute;
|
||||
*/
|
||||
[data-contextual-id]:not(.contextual) {
|
||||
position: absolute;
|
||||
}
|
||||
|
|
|
@ -10,18 +10,18 @@
|
|||
* Region default layout.
|
||||
*/
|
||||
|
||||
.region > * {
|
||||
.region > *:where(:not([data-big-pipe-placeholder-id])) {
|
||||
margin-block-end: var(--sp);
|
||||
}
|
||||
|
||||
@media (min-width: 43.75rem) {
|
||||
.region > * {
|
||||
.region > *:where(:not([data-big-pipe-placeholder-id])) {
|
||||
margin-block-end: var(--sp2);
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 62.5rem) {
|
||||
.region > * {
|
||||
.region > *:where(:not([data-big-pipe-placeholder-id])) {
|
||||
margin-block-end: var(--sp3);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
@import "../base/media-queries.pcss.css";
|
||||
|
||||
.region > * {
|
||||
.region > *:where(:not([data-big-pipe-placeholder-id])) {
|
||||
margin-block-end: var(--sp);
|
||||
|
||||
@media (--md) {
|
||||
|
|
Loading…
Reference in New Issue