From 66b8976f5434465ea47c66f39d81fa8b449516a6 Mon Sep 17 00:00:00 2001 From: WardPearce Date: Mon, 23 Sep 2024 07:16:02 +1200 Subject: [PATCH] Disable scrollbar on mobile --- docs/DOCKER.md | 3 +++ docs/SETTINGS.md | 1 - materialious/static/style.css | 10 ++++++++++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/docs/DOCKER.md b/docs/DOCKER.md index 756cd606..c0ac5353 100644 --- a/docs/DOCKER.md +++ b/docs/DOCKER.md @@ -149,6 +149,9 @@ services: # Look at "Overwriting Materialious defaults" for all the accepted values. VITE_DEFAULT_SETTINGS: '{"themeColor": "#2596be","region": "US"}' + # Set the default video/audio bitrate to use, -1 automatic, 999999 always best quality + VITE_DEFAULT_DASH_BITRATE: -1 + # Please look at step 7 about enabling this. VITE_DEFAULT_DOWNLOAD_ENABLED: false ``` diff --git a/docs/SETTINGS.md b/docs/SETTINGS.md index a3174fa9..362a9c29 100644 --- a/docs/SETTINGS.md +++ b/docs/SETTINGS.md @@ -41,7 +41,6 @@ Materialious allows you to customize various settings by overwriting the default + [DeArrow Instance](#dearrow-instance) + [DeArrow Thumbnail Instance](#dearrow-thumbnail-instance) + [DeArrow Titles Only](#dearrow-titles-only) - * [Bookmarklet](#bookmarklet) ## Theme diff --git a/materialious/static/style.css b/materialious/static/style.css index 6fedc174..5bffc19d 100644 --- a/materialious/static/style.css +++ b/materialious/static/style.css @@ -68,3 +68,13 @@ main.root { padding-right: 0.1em !important; } } + +@media screen and (max-width: 650px) { + main.root { + scrollbar-width: none !important; + } + + main.root::-webkit-scrollbar { + display: none !important; + } +} \ No newline at end of file