testing for mobile

This commit is contained in:
2025-01-30 05:32:20 +11:00
parent 872cf3082a
commit beefdb899c

View File

@@ -198,6 +198,8 @@ body {
overflow-y: auto; overflow-y: auto;
min-width: 0; /* Fix flexbox content overflow */ min-width: 0; /* Fix flexbox content overflow */
color: var(--ifm-color-content); color: var(--ifm-color-content);
height: 100%;
padding-bottom: calc(2rem + env(safe-area-inset-bottom));
} }
#file-index a, #document-outline a { #file-index a, #document-outline a {
@@ -435,7 +437,9 @@ body {
.content { .content {
padding: 1.5rem; 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 */ -webkit-overflow-scrolling: touch; /* For smoother scrolling on iOS */
} }