From a400aa5ed7956873ad4edb8ffac7147821e3f009 Mon Sep 17 00:00:00 2001 From: Reditus <33814724+ReditusDraco@users.noreply.github.com> Date: Thu, 21 May 2026 13:04:02 +0100 Subject: [PATCH] Fix inventory slot sizing: remove aspect-ratio forcing, use fixed height instead --- static/style.css | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/static/style.css b/static/style.css index 43c5223..ac6d87b 100644 --- a/static/style.css +++ b/static/style.css @@ -437,7 +437,9 @@ td a:hover { text-decoration: underline; } } .inv-grid-compact .inv-grid-slot { - min-height: 48px; + aspect-ratio: auto; + height: 48px; + min-height: unset; border-width: 1px; border-radius: 4px; } @@ -589,7 +591,9 @@ td a:hover { text-decoration: underline; } } .inv-equipped-compact .inv-grid-slot { - min-height: 48px; + aspect-ratio: auto; + height: 48px; + min-height: unset; border-width: 1px; border-radius: 4px; padding: 3px; @@ -622,7 +626,8 @@ td a:hover { text-decoration: underline; } } .inv-hotbar-slot { - aspect-ratio: 1; + aspect-ratio: auto; + height: 44px; border: 1px solid var(--border); border-radius: 4px; display: flex; @@ -633,7 +638,6 @@ td a:hover { text-decoration: underline; } position: relative; transition: all 0.15s; background: var(--card-bg); - min-height: 44px; overflow: hidden; }