BUGFIX: dropdown — left:-9999px umesto display:none (neuništivo)

This commit is contained in:
2026-06-26 01:46:18 +02:00
parent 93f5a7c8b6
commit 94d974ad20
+2 -2
View File
@@ -25,11 +25,11 @@
.cust-sel-chevron { font-size: 10px; color: var(--tekst-sporedni); flex-shrink: 0; transition: transform 0.15s; } .cust-sel-chevron { font-size: 10px; color: var(--tekst-sporedni); flex-shrink: 0; transition: transform 0.15s; }
.cust-sel.otvoren .cust-sel-chevron { transform: rotate(180deg); } .cust-sel.otvoren .cust-sel-chevron { transform: rotate(180deg); }
.cust-sel-lista { .cust-sel-lista {
display: none; position: absolute; top: calc(100% + 3px); left: 0; right: 0; z-index: 500; position: absolute; top: calc(100% + 3px); left: -9999px; right: auto; z-index: 500;
background: var(--kartica); border: 0.5px solid var(--ivica); border-radius: 10px; background: var(--kartica); border: 0.5px solid var(--ivica); border-radius: 10px;
max-height: 260px; overflow-y: auto; box-shadow: 0 8px 30px rgba(0,0,0,0.4); max-height: 260px; overflow-y: auto; box-shadow: 0 8px 30px rgba(0,0,0,0.4);
} }
.cust-sel.otvoren .cust-sel-lista { display: block; } .cust-sel.otvoren .cust-sel-lista { left: 0; right: 0; }
.cso { .cso {
display: flex; align-items: center; justify-content: space-between; gap: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
padding: 8px 12px; cursor: pointer; border-bottom: 0.5px solid var(--ivica); font-size: 13px; padding: 8px 12px; cursor: pointer; border-bottom: 0.5px solid var(--ivica); font-size: 13px;