Skip to content

Commit

Permalink
refactor: minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
chloeelim committed Sep 23, 2024
1 parent 7050b64 commit 24bf7ec
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion frontend/app/register/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function RegisterPage() {
}

return (
<Box className="flex w-full space-x-24">
<Box className="flex w-full gap-x-24">
<Box className="flex justify-center items-center bg-card text-card-foreground px-12 md:px-20 w-full lg:w-6/12">
<Box className="flex-col space-y-8 w-full max-w-3xl">
{/* Header */}
Expand Down
4 changes: 2 additions & 2 deletions frontend/components/auth/user-profile-button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const UserProfileButton = () => {
if (!user) {
return (
<div className="flex items-center w-full max-w-64 rounded p-4 hover:bg-muted-foreground/5">
<div className="flex space-x-6 items-center w-full">
<div className="flex gap-x-6 items-center w-full">
<Skeleton className="relative flex h-10 w-10 shrink-0 overflow-hidden rounded-sm bg-[#e7e9e7]/80" />
<div className="flex flex-col space-y-2 w-full">
<Skeleton className="flex h-3 w-full shrink-0 overflow-hidden rounded-sm bg-[#e7e9e7]/80" />
Expand All @@ -55,7 +55,7 @@ const UserProfileButton = () => {
<DropdownMenu onOpenChange={(isOpen) => setIsOpen(isOpen)}>
<DropdownMenuTrigger asChild>
<div className="flex items-center w-full max-w-64 rounded p-4 hover:bg-muted-foreground/5">
<div className="flex space-x-6">
<div className="flex gap-x-6">
<Avatar>
<AvatarFallback>{getInitialFromEmail(email)}</AvatarFallback>
</Avatar>
Expand Down
2 changes: 1 addition & 1 deletion frontend/components/form/inputs/password-input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const PasswordInput = forwardRef<HTMLInputElement, PasswordInputProps>(
<p className="text-sm text-muted-foreground">{helperText}</p>
)}
<div className="flex flex-row items-end justify-between">
<div className="flex items-center space-x-2">
<div className="flex items-center gap-x-2">
<Checkbox
checked={isPasswordVisible}
id="password-visibility"
Expand Down
2 changes: 1 addition & 1 deletion frontend/components/navigation/navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function Navbar() {
</div>
{!isLoggedIn && (
<div className="flex flex-1 items-center gap-x-4 justify-end">
<nav className="flex items-center space-x-4">
<nav className="flex items-center gap-x-4">
<Link href="/register">
<Button size="sm">Register</Button>
</Link>
Expand Down

0 comments on commit 24bf7ec

Please sign in to comment.