Skip to content

Commit 09ed887

Browse files
committed
feat(shell-dashboard): sticky-pin overlay toggle bar to viewport top on scroll
1 parent 3adec0b commit 09ed887

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • showcase/shell-dashboard/src/app

showcase/shell-dashboard/src/app/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ export default function Page() {
172172
{/* Tab content */}
173173
{activeTab === "matrix" && (
174174
<>
175-
<div className="px-8 pt-4 flex flex-col gap-3">
175+
<div className="sticky top-0 z-30 px-8 py-3 flex flex-col gap-3 bg-[var(--bg-surface)] border-b border-[var(--border)]">
176176
<OverlayToggleBar
177177
overlays={overlays}
178178
onToggle={toggle}

0 commit comments

Comments
 (0)