Commit 4cc3fd1
fix(grid): activate mobile card view at the 768px app breakpoint (#1822)
ObjectGrid already has a mobile card view (stacked cards instead of a
side-scrolling table), but it only kicked in below 480px — narrower than
the app's mobile breakpoint (768px, shared by useIsMobile / Tailwind md:
/ the responsive page + grid layout). The 480–768px band (most phones in
landscape, tablet-portrait, and even some phones whose reported
innerWidth sits just over 480) fell through to the wide table and had to
be side-scrolled to read columns past the third.
Raise the threshold to 768 so the card view covers the full mobile range,
matching every other responsive switch in the shell. Desktop (>=768)
is unchanged. Pairs with the iOS grouped-inset record detail (#1820):
list cards now tap straight into the stacked detail with no h-scroll
anywhere in the mobile flow.
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>1 parent ff4f0be commit 4cc3fd1
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
319 | 319 | | |
320 | 320 | | |
321 | 321 | | |
| 322 | + | |
| 323 | + | |
322 | 324 | | |
323 | | - | |
| 325 | + | |
324 | 326 | | |
325 | 327 | | |
326 | 328 | | |
| |||
1629 | 1631 | | |
1630 | 1632 | | |
1631 | 1633 | | |
1632 | | - | |
| 1634 | + | |
| 1635 | + | |
| 1636 | + | |
1633 | 1637 | | |
1634 | 1638 | | |
1635 | 1639 | | |
| |||
0 commit comments