diff --git a/templates/base.html b/templates/base.html index b73c8c3..0745614 100644 --- a/templates/base.html +++ b/templates/base.html @@ -280,14 +280,16 @@ } .stat-item .label{font-size:.8rem;color:var(--text-muted)} .stat-item .value{font-size:1.4rem;font-weight:600;color:var(--text-title);margin-top:.25rem} - .symbol-wrap{position:relative} + .symbol-wrap{position:relative;z-index:1} + .symbol-wrap:has(.symbol-dropdown.show){z-index:50} .symbol-dropdown{ position:absolute;top:100%;left:0;right:0; background:var(--input-bg);border:1px solid var(--input-border); - border-radius:10px;margin-top:4px;z-index:100; + border-radius:10px;margin-top:4px;z-index:200; max-height:240px;overflow-y:auto;display:none; - box-shadow:var(--shadow-card); + box-shadow:var(--shadow-card-hover); } + .card:has(.symbol-dropdown.show){overflow:visible} .symbol-dropdown.show{display:block} .symbol-option{padding:.65rem 1rem;cursor:pointer;font-size:.85rem;border-bottom:1px solid var(--table-border)} .symbol-option:hover{background:var(--list-item-bg)} diff --git a/templates/market.html b/templates/market.html index cf6325b..064279e 100644 --- a/templates/market.html +++ b/templates/market.html @@ -34,9 +34,13 @@