Force header clearance via inline style on main element
CSS cascade fixes were correct but browser was serving cached base.css. Inline style cannot be cached separately and bypasses all cascade issues. CSS variables still respect media query :root overrides so --header-height resolves to the correct value (50px SM, 46px XS) at each breakpoint. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
0eab5d40e6
commit
ec92445a0f
1 file changed
+1
-1
@@ -181,4 +181,4 @@ $_lt_assetVer = $GLOBALS['config']['ASSET_VERSION'] ?? '20260329';
|
||||
|
||||
</header><!-- /.lt-header -->
|
||||
|
||||
<main class="lt-main lt-container" id="main-content">
|
||||
<main class="lt-main lt-container" id="main-content" style="padding-top: calc(var(--header-height, 56px) + var(--space-lg, 1.5rem))">
|
||||
Reference in new issue
Block a user