From beefdb899c92d117d901b6c96f93ac93f03870ea Mon Sep 17 00:00:00 2001 From: Max Litruv Boonzaayer Date: Thu, 30 Jan 2025 05:32:20 +1100 Subject: [PATCH] testing for mobile --- styles.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/styles.css b/styles.css index 5961d6b..3dccf02 100644 --- a/styles.css +++ b/styles.css @@ -198,6 +198,8 @@ body { overflow-y: auto; min-width: 0; /* Fix flexbox content overflow */ color: var(--ifm-color-content); + height: 100%; + padding-bottom: calc(2rem + env(safe-area-inset-bottom)); } #file-index a, #document-outline a { @@ -435,7 +437,9 @@ body { .content { padding: 1.5rem; - height: calc(100% - env(safe-area-inset-top)); + padding-bottom: calc(1.5rem + env(safe-area-inset-bottom)); + height: 100%; + overflow-y: auto; -webkit-overflow-scrolling: touch; /* For smoother scrolling on iOS */ }