From c2dcc63b5f0998f87e0aeb1a3a61291aded83639 Mon Sep 17 00:00:00 2001
From: Rahmat Ardiansyah <155553712+artsbymat@users.noreply.github.com>
Date: Thu, 08 Jan 2026 01:36:02 +0000
Subject: [PATCH] feat: add scroll padding for mobile screen (#2249)
---
quartz/styles/base.scss | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/quartz/styles/base.scss b/quartz/styles/base.scss
index 0d642d6..14e6ae6 100644
--- a/quartz/styles/base.scss
+++ b/quartz/styles/base.scss
@@ -9,6 +9,10 @@
text-size-adjust: none;
overflow-x: hidden;
width: 100vw;
+
+ @media all and ($mobile) {
+ scroll-padding-top: 4rem;
+ }
}
body {
--
Gitblit v1.10.0