Fix slot overlay clicks: remove blanket pointer-events rules that overrode overlay z-index

This commit is contained in:
Reditus committed 2026-05-21 13:21:52 +01:00
1 parent 8868ecb6fc
commit 5aefc883d8
1 file changed
-13
-13
View File
@@ -503,10 +503,6 @@ 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);
@@ -517,7 +513,6 @@ td a:hover { text-decoration: underline; }
inset: 0;
z-index: 1;
cursor: pointer;
pointer-events: auto !important;
}
.inv-slot-icon {
@@ -672,10 +667,6 @@ 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;
@@ -766,10 +757,6 @@ 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;