From d3fdaaffc3e71fd66f868e6dfcdeb8b782c77b9d Mon Sep 17 00:00:00 2001 From: Rob Cowsill <42620235+rcowsill@users.noreply.github.com> Date: Mon, 27 May 2024 15:24:49 +0100 Subject: [PATCH] Override styles for PWA --- _site/css/jpeg_sawmill.css | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/_site/css/jpeg_sawmill.css b/_site/css/jpeg_sawmill.css index 28dec17..5e815eb 100644 --- a/_site/css/jpeg_sawmill.css +++ b/_site/css/jpeg_sawmill.css @@ -349,3 +349,24 @@ input[disabled] { .sawmill-viewer .sawmill-about-box a { white-space: nowrap; } + + +/* Sawmill PWA Style Overrides */ + +@media (display-mode: fullscreen), + (display-mode: standalone), + (display-mode: minimal-ui) { + body { + margin: 0; + } + + .sawmill-ui { + margin: 0; + width: 100%; + height: 100vh; + } + + .sawmill-toolbar { + border-radius: inherit; + } +}