Fix header position shift when becoming sticky
Move header outside .container so it spans full viewport width with its own padding, eliminating layout shift on scroll. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -29,7 +29,6 @@
|
||||
<script src="https://cdn.jsdelivr.net/npm/chart.js@4/dist/chart.umd.min.js"></script>
|
||||
</head>
|
||||
<body style="visibility: hidden;">
|
||||
<div class="container">
|
||||
<header>
|
||||
<div class="header-title">
|
||||
<span id="server-status" class="status-badge">●</span>
|
||||
@@ -94,6 +93,7 @@
|
||||
</button>
|
||||
</div>
|
||||
</header>
|
||||
<div class="container">
|
||||
<div class="tabs">
|
||||
<div class="tab-panel" id="tab-dashboard" role="tabpanel" aria-labelledby="tab-btn-dashboard">
|
||||
<div id="dashboard-content">
|
||||
|
||||
Reference in New Issue
Block a user