CLS issue for ssr pages
Unanswered
Atlantic herring posted this in #help-forum
Atlantic herringOP
Hi folk,
I'm experiencing a major layout shift on my SSR pages because media query styles are applied client-side. How can I apply these media queries server-side?
I'm experiencing a major layout shift on my SSR pages because media query styles are applied client-side. How can I apply these media queries server-side?
@media (min-width: ${BREAKPOINTS.md}) and (orientation: portrait) {
max-height: 85%;
margin: auto;
background-color: blue;
}