From 7d560e20906364471bb3e831055e238f996a8476 Mon Sep 17 00:00:00 2001 From: Flo Greistorfer Date: Tue, 9 Jul 2024 10:32:58 +0200 Subject: [PATCH] removed titlebar thingens --- builder.py | 2 +- files/global.css | 7 +++---- templates/manifest.json.j2 | 5 +---- 3 files changed, 5 insertions(+), 9 deletions(-) diff --git a/builder.py b/builder.py index 57a6ec1..5a79e1b 100755 --- a/builder.py +++ b/builder.py @@ -31,7 +31,7 @@ FAVICON_PATH = ".static/favicon.ico" GLOBAL_CSS_PATH = ".static/global.css" DEFAULT_THEME_PATH = os.path.join(os.path.abspath(os.path.dirname(__file__)), "themes", "default.css") DEFAULT_AUTHOR = "Author" -VERSION = "1.9.7" +VERSION = "1.9.8" RAW_EXTENSIONS = [".3fr", ".ari", ".arw", ".bay", ".braw", ".crw", ".cr2", ".cr3", ".cap", ".data", ".dcs", ".dcr", ".dng", ".drf", ".eip", ".erf", ".fff", ".gpr", ".iiq", ".k25", ".kdc", ".mdc", ".mef", ".mos", ".mrw", ".nef", ".nrw", ".obm", ".orf", ".pef", ".ptx", ".pxn", ".r3d", ".raf", ".raw", ".rwl", ".rw2", ".rwz", ".sr2", ".srf", ".srw", ".tif", ".tiff", ".x3f"] IMG_EXTENSIONS = [".jpg", ".jpeg"] EXCLUDES = [".lock", "index.html", "manifest.json", ".sizelist.json", ".thumbnails", ".static"] diff --git a/files/global.css b/files/global.css index a1d64e7..b746adb 100644 --- a/files/global.css +++ b/files/global.css @@ -89,10 +89,9 @@ figure { margin: 0; padding: 0; position: fixed; - left: env(titlebar-area-x, 0); - top: env(titlebar-area-y, 0); - height: env(titlebar-area-height, 50px); - width: env(titlebar-area-width, 100%); + left: 0; + top: 0; + width: 100%; -webkit-app-region: drag; font-size: large; } diff --git a/templates/manifest.json.j2 b/templates/manifest.json.j2 index e051f97..31edf88 100644 --- a/templates/manifest.json.j2 +++ b/templates/manifest.json.j2 @@ -17,8 +17,5 @@ "background_color": "{{ background_color }}", "display": "standalone", "scope": "/", - "theme_color": "{{ theme_color }}", - "display_override": [ - "window-controls-overlay" - ] + "theme_color": "{{ theme_color }}" } \ No newline at end of file