Skip to content

Commit

Permalink
full width/bigger option buttons on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
a-hariti committed May 24, 2024
1 parent f8925bc commit 05da74e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/components/onboarding/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -204,17 +204,21 @@ export function OnboardingOptionButtons({
return (
<div
ref={buttonsRef}
className={`flex flex-wrap gap-4 py-2 bg-white/90 sticky top-[80px] z-[1000] rounded shadow-[var(--shadow-6)] transition ${
className={`flex flex-wrap gap-3 py-2 bg-white/90 sticky top-[80px] z-[1000] rounded shadow-[var(--shadow-6)] transition ${
isSticky ? 'px-2 backdrop-blur' : ''
}`}
>
{options.map(option => (
<Button
variant="surface"
size="2"
size={{
xs: '3',
md: '2',
}}
disabled={option.disabled}
asChild
key={option.id}
className="w-full md:w-auto"
>
<label role="button">
<Checkbox
Expand Down

0 comments on commit 05da74e

Please sign in to comment.