From a9b2fb79e03818d04f319845a18fa1f6b16c8941 Mon Sep 17 00:00:00 2001 From: skeptrune Date: Tue, 3 Dec 2024 00:06:31 -0800 Subject: [PATCH] feature: mobile view + scrollbar fix for public page --- pdf2md/server/src/templates/skeleton.html | 2 +- pdf2md/server/static/output.css | 8 +++++++ server/src/public/navbar.html | 8 ++++--- server/src/public/page.html | 19 ++++++++++------- server/static/output.css | 26 +++++++++++++++++------ 5 files changed, 45 insertions(+), 18 deletions(-) diff --git a/pdf2md/server/src/templates/skeleton.html b/pdf2md/server/src/templates/skeleton.html index a573f848d6..3929e953ce 100644 --- a/pdf2md/server/src/templates/skeleton.html +++ b/pdf2md/server/src/templates/skeleton.html @@ -48,7 +48,7 @@ {% block scripts %} {% endblock %} - +
{% block navbar %}
diff --git a/pdf2md/server/static/output.css b/pdf2md/server/static/output.css index 9c19b919d8..5a04ef8474 100644 --- a/pdf2md/server/static/output.css +++ b/pdf2md/server/static/output.css @@ -825,6 +825,10 @@ video { overflow-y: auto; } +.overflow-x-hidden { + overflow-x: hidden; +} + .whitespace-nowrap { white-space: nowrap; } @@ -1255,6 +1259,10 @@ video { margin-top: 20vh; } + .sm\:overflow-y-hidden { + overflow-y: hidden; + } + .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; diff --git a/server/src/public/navbar.html b/server/src/public/navbar.html index 2d843b7561..7da05ac1a4 100644 --- a/server/src/public/navbar.html +++ b/server/src/public/navbar.html @@ -1,5 +1,7 @@