Wallet payouts table: stack rows by the card's width (container query), From gets a 120px floor; From and Level overlapped on mid-size screens (Michael 2026-11-09)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+5
-1
@@ -11,7 +11,11 @@
|
||||
<style>
|
||||
.body{padding:16px 24px;display:grid;gap:16px}
|
||||
.two{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:16px}
|
||||
.pay .hd,.pay .rw{grid-template-columns:110px minmax(0,1.4fr) 70px 110px 110px 120px}
|
||||
.pay .hd,.pay .rw{grid-template-columns:110px minmax(120px,1.4fr) 70px 80px 110px 110px}
|
||||
/* the payouts card shares its row with a 380px panel, so it is narrow on mid-size screens: switch to the stacked rows by the card's
|
||||
own width, not the window's (Michael 2026-11-09: From and Level drew on top of each other) */
|
||||
.pay{container-type:inline-size}
|
||||
@container (max-width:700px){.pay .hd{display:none}.pay .rw{grid-template-columns:1fr 1fr}}
|
||||
.pos .rw{grid-template-columns:minmax(0,1fr) 120px 100px}
|
||||
@media (max-width:900px){.two{grid-template-columns:1fr}.pay .hd{display:none}.pay .rw{grid-template-columns:1fr 1fr}.body{padding:12px 16px}}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user