Skip to content

Commit db6ab06

Browse files
committed
ui nits
1 parent 22b9e53 commit db6ab06

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/web/src/app/onboard/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ export default async function Onboarding({ searchParams }: OnboardingProps) {
155155
subtitle: (
156156
<>
157157
Your Sourcebot deployment is ready. Check out these resources to learn how to get the most out of Sourcebot.
158-
<div className="text-center space-y-4">
158+
<div className="text-center space-y-4 mt-6">
159159
<div className="w-16 h-16 mx-auto bg-primary rounded-full flex items-center justify-center">
160160
<svg className="w-8 h-8 text-primary-foreground" fill="none" stroke="currentColor" viewBox="0 0 24 24">
161161
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M5 13l4 4L19 7" />

packages/web/src/components/ui/switch.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ const Switch = React.forwardRef<
1111
>(({ className, ...props }, ref) => (
1212
<SwitchPrimitives.Root
1313
className={cn(
14-
"peer inline-flex h-[24px] w-[44px] shrink-0 cursor-pointer items-center rounded-full transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 bg-muted border border-input",
14+
"peer inline-flex h-[24px] w-[44px] shrink-0 cursor-pointer items-center rounded-full transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=unchecked]:bg-muted data-[state=checked]:bg-[var(--chart-2)] border border-input data-[state=checked]:border-[var(--chart-2)]",
1515
className
1616
)}
1717
{...props}
1818
ref={ref}
1919
>
2020
<SwitchPrimitives.Thumb
2121
className={cn(
22-
"pointer-events-none block h-5 w-5 rounded-full bg-primary dark:bg-primary shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0"
22+
"pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0"
2323
)}
2424
/>
2525
</SwitchPrimitives.Root>

0 commit comments

Comments
 (0)