Skip to content

Commit 7af7e41

Browse files
authored
fix(ui): stop the worktrees table from always stacking inside settings (#103899)
1 parent 92f3c35 commit 7af7e41

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

ui/src/styles/components.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3041,14 +3041,16 @@
30413041
min-width: 180px;
30423042
}
30433043

3044-
@media (max-width: 1100px) {
3044+
/* Settings caps .settings-workspace at 1120px, so the table container is ~1080px
3045+
wide; a 1100px stack breakpoint would collapse the grid at every window size. */
3046+
@media (max-width: 900px) {
30453047
.worktrees-table .table-head,
30463048
.worktrees-table .table-row {
30473049
grid-template-columns: 1fr;
30483050
}
30493051
}
30503052

3051-
@container (max-width: 1100px) {
3053+
@container (max-width: 900px) {
30523054
.worktrees-table .table-head,
30533055
.worktrees-table .table-row {
30543056
grid-template-columns: 1fr;

0 commit comments

Comments
 (0)