From 84293c2e797a976bcc4772efbd498f353d366e9b Mon Sep 17 00:00:00 2001 From: Adrian Victor Date: Wed, 1 Jul 2026 15:11:08 -0300 Subject: [PATCH] Make home squares width relative to screen width instead of height (vh to vw) --- static/main.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/static/main.css b/static/main.css index 5db40e4..faf6687 100644 --- a/static/main.css +++ b/static/main.css @@ -256,9 +256,9 @@ li.inlineList { #defaultSquare { transition: 0.4s; border: medium solid white; - height: 7vh; + height: 3vw; overflow: hidden; - width: 10vh; + width: 6vw; opacity: 0.4; padding: 0.4em; cursor: pointer; @@ -279,7 +279,7 @@ li.inlineList { .headerSquare.selected, #defaultSquare.selected { opacity: 1; - height: 10vh; + height: 6vw; box-shadow: 2px 7px 5px rgba(0, 0, 0, 0.4), 0px -4px 10px rgba(0, 0, 0, 0.4); background-color: rgba(0, 0, 0, 0.3); }