Skip to content

Commit 8303515

Browse files
p4gsclaudehappy-otter
committed
Fix sticky header and opaque dark mode header backgrounds
- Add max-height to table container so sticky header works on scroll - Replace transparent dark mode header gradient with opaque colors Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering>
1 parent 229897e commit 8303515

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • docs/projects/grcengineering-cheat-sheet

docs/projects/grcengineering-cheat-sheet/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@
167167
0 1px 4px var(--shadow);
168168
border: 1px solid var(--border);
169169
background: var(--bg-card);
170+
max-height: calc(100vh - 100px);
170171
}
171172

172173
/* ── TABLE ── */
@@ -193,7 +194,7 @@
193194
white-space: nowrap;
194195
}
195196
[data-theme="dark"] thead th {
196-
background: linear-gradient(135deg, rgba(255,168,79,0.15), rgba(27,149,193,0.1));
197+
background: linear-gradient(135deg, #2a1f3e, #1a2a3e);
197198
border-bottom-color: var(--border-header);
198199
}
199200
thead th:first-child {

0 commit comments

Comments
 (0)