fix(cls): add contain:layout to prevent AdSense layout shifts
AdSense injects style="height: auto !important" to main-content causing CLS 0.354. contain:layout isolates from external re-layouts. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -895,11 +895,10 @@ article ins.adsbygoogle {
|
||||
min-height: 200px;
|
||||
}
|
||||
|
||||
/* Prevenir que AdSense manipule el main-content */
|
||||
/* CLS Prevention: Aislar main-content de re-layouts externos */
|
||||
#main-content,
|
||||
main.site-main {
|
||||
height: auto;
|
||||
min-height: 0;
|
||||
contain: layout style;
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
|
||||
Reference in New Issue
Block a user