mirror of
https://gitlab.massbug.com/massbug/judge4c.git
synced 2025-07-04 15:41:17 +00:00
fix: add width/height auto styling to maintain aspect ratio in image
This commit is contained in:
parent
abfadf3b0d
commit
67565b1b18
@ -10,7 +10,13 @@ const AuthLayout = ({ children }: AuthLayoutProps) => {
|
||||
<main className="min-h-screen">
|
||||
<div className="mx-auto max-w-screen-2xl p-4">
|
||||
<nav className="flex items-center justify-between">
|
||||
<Image src="/logo.svg" alt="logo" width={100} height={50} />
|
||||
<Image
|
||||
src="/logo.svg"
|
||||
alt="logo"
|
||||
width={100}
|
||||
height={50}
|
||||
style={{ width: "auto", height: "auto" }}
|
||||
/>
|
||||
<div className="flex items-center gap-2">
|
||||
<Button variant="secondary">Sign Up</Button>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user