Skip to content

Commit f337b66

Browse files
committed
fix(ui): fix OTP group styling, props spread order in BrandedButton, invite header shrink-0
1 parent 3cb33e5 commit f337b66

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

apps/sim/app/(auth)/components/branded-button.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ export const BrandedButton = forwardRef<HTMLButtonElement, BrandedButtonProps>(
5050
return (
5151
<button
5252
ref={ref}
53+
{...props}
5354
disabled={disabled || loading}
5455
onMouseEnter={handleMouseEnter}
5556
onMouseLeave={handleMouseLeave}
@@ -73,7 +74,6 @@ export const BrandedButton = forwardRef<HTMLButtonElement, BrandedButtonProps>(
7374
}
7475
: undefined
7576
}
76-
{...props}
7777
>
7878
{loading ? (
7979
<span className='flex items-center gap-2'>

apps/sim/app/chat/components/auth/email/email-auth.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ export default function EmailAuth({ identifier, onAuthSuccess }: EmailAuthProps)
264264
disabled={isVerifyingOtp}
265265
className={cn('gap-2', authError && 'otp-error')}
266266
>
267-
<InputOTPGroup className='[&>div]:!rounded-[10px] gap-2'>
267+
<InputOTPGroup>
268268
{[0, 1, 2, 3, 4, 5].map((index) => (
269269
<InputOTPSlot
270270
key={index}

apps/sim/app/invite/components/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ interface InviteLayoutProps {
1010
export default function InviteLayout({ children }: InviteLayoutProps) {
1111
return (
1212
<div className='relative flex min-h-screen flex-col bg-[#1C1C1C] font-[430] font-season text-[#ECECEC]'>
13-
<header>
13+
<header className='shrink-0'>
1414
<Navbar logoOnly />
1515
</header>
1616
<main className='flex flex-1 flex-col items-center justify-center px-4'>

0 commit comments

Comments
 (0)