The workshop row learns to wrap

The lobby's automaton row was a no-wrap inline-flex: at card width the
"seat a" label collapsed to a vertical sliver and the MYSTERY button
ran clean off the paper. The row now wraps centered within the card
and the label holds one line.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Eric Wagoner
2026-08-16 20:49:52 -04:00
co-authored by Claude Fable 5
parent 3308850bb6
commit 4e365c168f
+6 -2
View File
@@ -1110,7 +1110,7 @@
{#if net.you === net.hostId} {#if net.you === net.hostId}
{#if net.players.length < 6} {#if net.players.length < 6}
<span class="bot-row"> <span class="bot-row">
⚙ seat a <span class="bot-label">⚙ seat a</span>
<select class="tier-pick" bind:value={botTier} aria-label="automaton difficulty"> <select class="tier-pick" bind:value={botTier} aria-label="automaton difficulty">
<option value="apprentice">apprentice</option> <option value="apprentice">apprentice</option>
<option value="adept">adept</option> <option value="adept">adept</option>
@@ -2126,12 +2126,16 @@
padding: 0.1rem 0.25rem; padding: 0.1rem 0.25rem;
} }
.bot-row { .bot-row {
display: inline-flex; display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center; align-items: center;
gap: 0.35rem; gap: 0.35rem;
max-width: 100%;
font-size: 0.85rem; font-size: 0.85rem;
color: #6b5a41; color: #6b5a41;
} }
.bot-label { white-space: nowrap; }
.discard-link { .discard-link {
background: none; background: none;
border: none; border: none;