From a20a2ff6cd60bcbe631221250dfb39b7e7d61535 Mon Sep 17 00:00:00 2001 From: Kostas Chatzikokolakis Date: Tue, 9 Jul 2024 10:02:18 +0300 Subject: [PATCH] Skip the top menu when scrolling on small screens --- assets/css/responsiveness.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/assets/css/responsiveness.scss b/assets/css/responsiveness.scss index 9656ed6..6d0d1c8 100644 --- a/assets/css/responsiveness.scss +++ b/assets/css/responsiveness.scss @@ -58,6 +58,11 @@ line-height: 1.6em; } + /* skip the top menu when scrolling */ + .post-holder .post { + scroll-margin-top: 48px; + } + .post-template .post { padding-bottom: 1rem; }