Skip to content

Commit ee51290

Browse files
authored
Fix starter links on mobile (#5710)
1 parent 3d47110 commit ee51290

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/dev/docs/src/StarterKits.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,19 @@ export function StarterKits({component, tailwindComponent = component}) {
1010
let query = component ? `?path=/docs/${component}--docs` : '';
1111
let tailwindQuery = tailwindComponent ? `?path=/docs/${tailwindComponent}--docs` : '';
1212
return (
13-
<section style={{display: 'flex', gap: 16}}>
13+
<section style={{display: 'flex', columnGap: 16, flexWrap: 'wrap'}}>
1414
<div style={{display: 'flex', flexDirection: 'column', gap: 4}}>
1515
<ResourceCard
1616
type="Storybook"
1717
url={`../react-aria-starter.${gitHash}.zip`}
18-
style={{marginTop: 36}} />
18+
style={{marginTop: 36, marginBottom: 0}} />
1919
<Link variant="secondary" href={`../react-aria-starter/index.html${query}`} target="_blank" UNSAFE_style={{width: 'fit-content'}}>Preview<LinkOut size="XXS" marginStart="size-75" UNSAFE_style={{verticalAlign: 'middle'}} /></Link>
2020
</div>
2121
<div style={{display: 'flex', flexDirection: 'column', gap: 4}}>
2222
<ResourceCard
2323
type="Tailwind"
2424
url={`../react-aria-tailwind-starter.${gitHash}.zip`}
25-
style={{marginTop: 36}} />
25+
style={{marginTop: 36, marginBottom: 0}} />
2626
<Link variant="secondary" href={`../react-aria-tailwind-starter/index.html${tailwindQuery}`} target="_blank" UNSAFE_style={{width: 'fit-content'}}>Preview<LinkOut size="XXS" marginStart="size-75" UNSAFE_style={{verticalAlign: 'middle'}} /></Link>
2727
</div>
2828
</section>

0 commit comments

Comments
 (0)