diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index e1e0072..3f4cc85 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -5348,15 +5348,15 @@ function TournamentStandings({ standings }) { function TournamentListColumn({ column, navigate }) { const [collapsed, setCollapsed] = useState(false) return ( -
+
{collapsed ? null : (
@@ -5374,27 +5374,18 @@ function TournamentListColumn({ column, navigate }) { } function TournamentListSide({ side, navigate }) { - const [collapsed, setCollapsed] = useState(false) return (
- - {collapsed ? null : ( - -
- {side.columns.map((column) => ( - - ))} -
-
- )} +

+ +
+ {side.columns.map((column) => ( + + ))} +
+
) } diff --git a/frontend/src/styles.css b/frontend/src/styles.css index f28ad29..4ea1416 100644 --- a/frontend/src/styles.css +++ b/frontend/src/styles.css @@ -921,13 +921,42 @@ h3 { } /* List-style column inside the bracket viewport (Swiss / group rounds). - Two cards side by side; wider than the 200px bracket column. */ + Label sits on the left as a vertical strip; cards fill the right. */ .tournament-list-column { position: relative; z-index: 1; display: flex; + flex-direction: row; + align-items: flex-start; + gap: 1rem; min-width: 440px; - flex-direction: column; +} + +.tournament-list-column.is-collapsed { + min-width: 0; +} + +.tournament-list-round-btn { + writing-mode: vertical-lr; + align-self: stretch; + display: flex; + align-items: center; + justify-content: center; + padding: 0.5rem 0.375rem; + border-right: 1px solid var(--color-border); + font-size: 0.65rem; + font-weight: 700; + letter-spacing: 0.12em; + text-transform: uppercase; + color: var(--color-text-muted); + cursor: pointer; + transition: color 0.15s, border-color 0.15s; + white-space: nowrap; +} + +.tournament-list-round-btn:hover { + color: var(--color-text); + border-color: var(--color-text-muted); } .bracket-caret {