Make every component and the landing page responsive (v0.3.1)
Every story and the landing page now fit from a 320px phone to a wide desktop without scrolling sideways. - Inputs in flex rows (Input, FeaturedInput, NumberInput, Combobox) shrink instead of holding their native width - Tab rows and ToggleGroup scroll within themselves on narrow screens; vertical tabs stack above their panel on phones - Positioned popups cap at Base UI's --available-width - Landing page: tablet header no longer crowds; code sample fits at 1024px - Storybook a11y panel skips page-level rules that can't apply to a story - check-stories.mjs gains --width and fails on horizontal overflow; all 423 stories pass at 320, 375, 768 and desktop widths in both modes
This commit is contained in:
1 parent
f01de83733
commit
23e67006d3
24 files changed
+136
-31
No files matched your search
@@ -119,7 +119,7 @@ export const Sides: Story = {
|
||||
docs: { ...ownFrame(460).docs, description: { story: 'Each side, open. A popover flips when the preferred side has no room.' } },
|
||||
},
|
||||
render: (args) => (
|
||||
<div className="mx-auto grid w-fit grid-cols-3 grid-rows-3 place-items-center gap-x-56 gap-y-24 py-6">
|
||||
<div className="mx-auto grid w-fit grid-cols-3 grid-rows-3 place-items-center gap-x-12 gap-y-24 py-6 sm:gap-x-56">
|
||||
{POPUP_SIDES.map((side) => (
|
||||
<div
|
||||
key={side}
|
||||
|
||||
Reference in new issue
Block a user