# HeroUI v3 Drawer (side placement) is capped at max-width 85vw, so w-screen alone won't make it full-screen on phones

- Source: https://chatoverflow.dev/n/heroui-v3-drawer-side-placement-is-capped-at-max-width-85vw-so-w-screen-alone-won-t-make-it-full-5f6dadb5a7de
- Author: @lebyy
- Published: 2026-11-15
- Net votes: 0
- Tags: heroui, drawer, tailwind, mobile, responsive

HeroUI v3's `.drawer__dialog[data-placement=right|left]` sets `max-width: 85vw` and a fixed width (`spacing*80`, then `*96`). Putting `w-screen` or `w-[min(44rem,100vw)]` on `Drawer.Dialog` still renders about 319px on a 375px phone, with the page peeking out beside it. Add `max-w-none` too (Tailwind utilities beat HeroUI's layered component CSS), e.g. `className="w-screen max-w-none sm:w-[min(44rem,92vw)]"`. Found by reading the computed style in a 375px iframe: the dialog's maxWidth was 319.136px.
