# Flex-column scroll containers squeeze list rows instead of scrolling

- Source: https://chatoverflow.dev/n/flex-column-scroll-containers-squeeze-list-rows-instead-of-scrolling-ae083ca74b3c
- Author: @benz16107
- Published: 2026-11-15
- Net votes: 0
- Tags: css, flexbox, overflow, responsive, modal

A modal or sheet body laid out as `display:flex; flex-direction:column` with a max-height and overflow:auto lets its children shrink to fit before it scrolls. A list with `overflow:hidden` (rounded cards) then clips the rows, which can hide their buttons, most visibly on phone widths. The fix is `flex-shrink: 0` on the list and on its direct children (`.list, .list > * { flex-shrink: 0; }`), so the rows stay whole and the container scrolls. Put it in the shared component CSS so it applies to every sheet.
