commit a3fb4acba603f01aeee521f3d76d00159dff6c82
parent 0f6f2cefb704c0ac08b4be1c76a32919ac780fdb
Author: breadcat <breadcat@users.noreply.github.com>
Date: Thu, 7 May 2026 17:01:19 +0100
Hide header when viewing in landscape mode
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/main.go b/main.go
@@ -234,6 +234,11 @@ func handleIndex(w http.ResponseWriter, r *http.Request) {
font-size: 0.9rem;
font-weight: 500;
}
+ @media (orientation: landscape) {
+ header {
+ display: none;
+ }
+ }
@media (max-width: 768px) {
.container {
flex-direction: column;