Skip to content

Commit bbcf23d

Browse files
committed
fix: resolve spacing issue for CLI auth page
1 parent c4b8ba8 commit bbcf23d

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

site/src/components/Welcome/Welcome.tsx

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,14 @@ const Language = {
99
),
1010
};
1111

12-
export const Welcome: FC<PropsWithChildren> = ({ children }) => {
12+
type WelcomeProps = Readonly<
13+
PropsWithChildren<{
14+
className?: string;
15+
}>
16+
>;
17+
export const Welcome: FC<WelcomeProps> = ({ children, className }) => {
1318
return (
14-
<div>
19+
<div className={className}>
1520
<div className="flex justify-center pb-1">
1621
<CoderIcon className="w-12 h-12" />
1722
</div>

site/src/pages/CliAuthPage/CliAuthPageView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export const CliAuthPageView: FC<CliAuthPageViewProps> = ({ sessionToken }) => {
2020

2121
return (
2222
<SignInLayout>
23-
<Welcome>Session token</Welcome>
23+
<Welcome className="pb-3">Session token</Welcome>
2424

2525
<p css={styles.instructions}>
2626
Copy the session token below and

0 commit comments

Comments
 (0)