From 1f0021a31670577a63dbadd099210361424104ff Mon Sep 17 00:00:00 2001 From: Fabian Iwand Date: Sun, 5 Jan 2025 17:12:04 +0100 Subject: [PATCH] fix(ui): add scroll padding Prevents sticky headings from covering framework names when navigating to a component via the sidebar. --- src/app.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/app.css b/src/app.css index 7bccd01c..0fa8730d 100644 --- a/src/app.css +++ b/src/app.css @@ -11,3 +11,6 @@ .no-scroll::-webkit-scrollbar { display: none; /* Chrome, Safari and Opera */ } +html { + scroll-padding-top: 60px; /* Approximate Header height with a horizontal scrollbar. */ +}