People tiles: a whole list shares one row when it fits
When every group (a team's leads and members alike) fits side by side with tiles at three quarters of full width or wider, 10 at most, they share one line, each group's width following its head count; a board of 7 is one row rather than 5 and 2. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
bc88b45ee1
commit
01de6272f3
2 changed files with 41 additions and 4 deletions
|
|
@ -66,6 +66,16 @@
|
|||
border-left: 1px solid var(--pl-rule);
|
||||
}
|
||||
|
||||
/* Everyone on one line (fitsOneRow in PeopleTiles.tsx): the groups
|
||||
share it by head count, and the tiles narrow to fit. */
|
||||
.pl__groups[data-row="one"] {
|
||||
flex-wrap: nowrap;
|
||||
}
|
||||
|
||||
.pl__groups[data-row="one"] .pl__group {
|
||||
flex: var(--pl-share) 1 0;
|
||||
}
|
||||
|
||||
.pl__group-head {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue