From 0824bafc43e219c91b2fa11065e59d3db99631d1 Mon Sep 17 00:00:00 2001 From: Will Scullin Date: Thu, 28 Nov 2024 15:57:43 -0800 Subject: [PATCH] Better Preact standalone behavior --- index.html | 5 +++++ js/components/css/Header.module.scss | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/index.html b/index.html index 759a275..0b195ca 100644 --- a/index.html +++ b/index.html @@ -18,6 +18,11 @@ background-color: #c4c1a0; margin: 16px 0; } + + .standalone { + position: fixed; + width: 100%; + } diff --git a/js/components/css/Header.module.scss b/js/components/css/Header.module.scss index b751e0a..12fa3ec 100644 --- a/js/components/css/Header.module.scss +++ b/js/components/css/Header.module.scss @@ -9,6 +9,12 @@ } } +.standalone { + .header { + display: none; + } +} + .header img { border: none; }