Keep player rosters vertical
This commit is contained in:
2
TODO.md
2
TODO.md
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
- [x] The character sheet modal popup is narrower than it needs to be on wide screens. I think it could safely be like 90% as wide as the non-modal UI.
|
- [x] The character sheet modal popup is narrower than it needs to be on wide screens. I think it could safely be like 90% as wide as the non-modal UI.
|
||||||
- [x] Popping out the event log should leave a close button where the "Event Log" open button is, so that you don't have to move your mouse to quickly toggle it. The existing close button can remain.
|
- [x] Popping out the event log should leave a close button where the "Event Log" open button is, so that you don't have to move your mouse to quickly toggle it. The existing close button can remain.
|
||||||
- [ ] Use the same vertical UI for the player list in all phases
|
- [x] Use the same vertical UI for the player list in all phases
|
||||||
- [x] In the admin panel, if a pi-rat doesn't have a name yet, it should show something like 'not chosen yet' rather than the player name
|
- [x] In the admin panel, if a pi-rat doesn't have a name yet, it should show something like 'not chosen yet' rather than the player name
|
||||||
- [x] In the admin panel, the "Open" and "Copy" buttons should be the same size
|
- [x] In the admin panel, the "Open" and "Copy" buttons should be the same size
|
||||||
- [x] Store the player name in local storage and pre-populate it when joining a new game (but don't force it, let the player edit it if they'd prefer a different name)
|
- [x] Store the player name in local storage and pre-populate it when joining a new game (but don't force it, let the player edit it if they'd prefer a different name)
|
||||||
|
|||||||
@@ -296,9 +296,8 @@
|
|||||||
/* --- Player chips --- */
|
/* --- Player chips --- */
|
||||||
.player-chips {
|
.player-chips {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-direction: column;
|
||||||
gap: 0.75rem;
|
gap: 0.75rem;
|
||||||
justify-content: center;
|
|
||||||
margin-top: 1rem;
|
margin-top: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -306,10 +305,11 @@
|
|||||||
background: color-mix(in srgb, var(--text) 6%, transparent);
|
background: color-mix(in srgb, var(--text) 6%, transparent);
|
||||||
border: 1px solid var(--edge);
|
border: 1px solid var(--edge);
|
||||||
padding: 0.5rem 1.25rem;
|
padding: 0.5rem 1.25rem;
|
||||||
border-radius: 30px;
|
border-radius: var(--radius-md);
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 0.5rem;
|
gap: 0.5rem;
|
||||||
|
width: 100%;
|
||||||
transition: var(--transition-smooth);
|
transition: var(--transition-smooth);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -328,7 +328,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.list-chips {
|
.list-chips {
|
||||||
justify-content: flex-start;
|
align-items: stretch;
|
||||||
}
|
}
|
||||||
|
|
||||||
.list-chips .player-chip {
|
.list-chips .player-chip {
|
||||||
|
|||||||
@@ -183,23 +183,13 @@
|
|||||||
font-size: 0.85rem;
|
font-size: 0.85rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* On narrow screens the crew column becomes a horizontal strip above the board */
|
/* Keep the crew roster vertical at every width, matching the other phases. */
|
||||||
@media (max-width: 1100px) {
|
@media (max-width: 1100px) {
|
||||||
.crew-bubbles {
|
|
||||||
flex-direction: row;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
align-items: flex-start;
|
|
||||||
}
|
|
||||||
.crew-bubble {
|
.crew-bubble {
|
||||||
width: auto;
|
width: 100%;
|
||||||
flex: 1 1 140px;
|
|
||||||
}
|
}
|
||||||
.crew-objectives-toggle {
|
.crew-objectives-toggle {
|
||||||
width: auto;
|
width: 100%;
|
||||||
flex: 1 1 100%;
|
|
||||||
}
|
|
||||||
.crew-objectives-detail {
|
|
||||||
flex: 1 1 100%;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -6,10 +6,17 @@
|
|||||||
// - Add a CHANGELOG entry only when a commit changes something players can
|
// - Add a CHANGELOG entry only when a commit changes something players can
|
||||||
// see. Skip refactors, tests, and tooling. Keep wording player-facing.
|
// see. Skip refactors, tests, and tooling. Keep wording player-facing.
|
||||||
|
|
||||||
export const VERSION = 20;
|
export const VERSION = 21;
|
||||||
|
|
||||||
// Newest first. Each entry: { version, date: 'YYYY-MM-DD', changes: [string, ...] }.
|
// Newest first. Each entry: { version, date: 'YYYY-MM-DD', changes: [string, ...] }.
|
||||||
export const CHANGELOG = [
|
export const CHANGELOG = [
|
||||||
|
{
|
||||||
|
version: 21,
|
||||||
|
date: '2026-07-10',
|
||||||
|
changes: [
|
||||||
|
'Player lists now use the same easy-to-scan vertical layout in every phase and at every screen size.',
|
||||||
|
],
|
||||||
|
},
|
||||||
{
|
{
|
||||||
version: 20,
|
version: 20,
|
||||||
date: '2026-07-10',
|
date: '2026-07-10',
|
||||||
|
|||||||
Reference in New Issue
Block a user