Skip to content

Commit

Permalink
Fix starter links on mobile (#5710)
Browse files Browse the repository at this point in the history
  • Loading branch information
devongovett authored Jan 17, 2024
1 parent 3d47110 commit ee51290
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/dev/docs/src/StarterKits.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,19 @@ export function StarterKits({component, tailwindComponent = component}) {
let query = component ? `?path=/docs/${component}--docs` : '';
let tailwindQuery = tailwindComponent ? `?path=/docs/${tailwindComponent}--docs` : '';
return (
<section style={{display: 'flex', gap: 16}}>
<section style={{display: 'flex', columnGap: 16, flexWrap: 'wrap'}}>
<div style={{display: 'flex', flexDirection: 'column', gap: 4}}>
<ResourceCard
type="Storybook"
url={`../react-aria-starter.${gitHash}.zip`}
style={{marginTop: 36}} />
style={{marginTop: 36, marginBottom: 0}} />
<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>
</div>
<div style={{display: 'flex', flexDirection: 'column', gap: 4}}>
<ResourceCard
type="Tailwind"
url={`../react-aria-tailwind-starter.${gitHash}.zip`}
style={{marginTop: 36}} />
style={{marginTop: 36, marginBottom: 0}} />
<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>
</div>
</section>
Expand Down

2 comments on commit ee51290

@rspbot
Copy link

@rspbot rspbot commented on ee51290 Jan 17, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rspbot
Copy link

@rspbot rspbot commented on ee51290 Jan 17, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.