BlueGit

timfa questward

Fix trade offer quantity modal stacking above the trade panel.

The qty panel had a z-index but no fixed positioning, so it rendered under the trade UI and could not be used.

Co-authored-by: Cursor <cursoragent@cursor.com>

timfa Tim Falken · pushed by timfa

Authored 2026-09-04 · 2 months ago

Hash
9ca0480dbe39daba07910ad75ce930cc94a0fbc0
Parent
8c44342f
1 file changed +17 −0
client/ui/play.css +17 −0
@@ -409,7 +409,24 @@ body {
409 409 }
410 410
411 411 #trade-qty-panel {
412 position: fixed;
412 413 z-index: 25;
414 top: 50%;
415 left: 50%;
416 transform: translate(-50%, -50%);
417 width: min(320px, 92vw);
418 background: #1a1e26;
419 border: 1px solid #2c3340;
420 padding: 0.75rem 1rem 1rem;
421 pointer-events: auto;
422 }
423
424 #trade-qty-panel header {
425 display: flex;
426 justify-content: space-between;
427 align-items: center;
428 gap: 0.75rem;
429 margin-bottom: 0.75rem;
413 430 }
414 431
415 432 .toast.toast-visible {
@@ -409,7 +409,24 @@ body {
409}
409}
410
410
411#trade-qty-panel {
411#trade-qty-panel {
412 position: fixed;
412 z-index: 25;
413 z-index: 25;
414 top: 50%;
415 left: 50%;
416 transform: translate(-50%, -50%);
417 width: min(320px, 92vw);
418 background: #1a1e26;
419 border: 1px solid #2c3340;
420 padding: 0.75rem 1rem 1rem;
421 pointer-events: auto;
422}
423
424#trade-qty-panel header {
425 display: flex;
426 justify-content: space-between;
427 align-items: center;
428 gap: 0.75rem;
429 margin-bottom: 0.75rem;
413}
430}
414
431
415.toast.toast-visible {
432.toast.toast-visible {