From b4df542874e97faf4579b987abab64ba6581f9c2 Mon Sep 17 00:00:00 2001 From: Reditus <33814724+ReditusDraco@users.noreply.github.com> Date: Thu, 21 May 2026 13:11:45 +0100 Subject: [PATCH] Fix slot clicks: blanket pointer-events: none on all children of filled slots with !important --- static/style.css | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/static/style.css b/static/style.css index 03c1ea9..5aee999 100644 --- a/static/style.css +++ b/static/style.css @@ -503,6 +503,10 @@ td a:hover { text-decoration: underline; } border-color: var(--border); } +.inv-grid-slot.has-item > * { + pointer-events: none !important; +} + .inv-grid-slot.has-item:hover { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(201,162,78,0.2); @@ -660,6 +664,10 @@ td a:hover { text-decoration: underline; } border-style: solid; } +.inv-hotbar-slot.has-item > * { + pointer-events: none !important; +} + .inv-hotbar-slot .inv-slot-icon { font-size: 14px; line-height: 1; @@ -750,6 +758,10 @@ td a:hover { text-decoration: underline; } background: var(--hover); } +.inv-key-grid-slot > * { + pointer-events: none !important; +} + .inv-key-grid-slot .inv-slot-icon { font-size: 12px; flex-shrink: 0;