Move back link top-left
Moved the "Tillbaka till startsidan" link outside the centered container to align it to the left, placing it above the main content in Account.tsx. X-Lovable-Edit-ID: edt-9a074529-236d-41a4-b3a6-7d919bb944cb
This commit is contained in:
+11
-10
@@ -132,17 +132,18 @@ const Account = () => {
|
||||
<div className="min-h-screen bg-background">
|
||||
<Header />
|
||||
<div className="pt-24 px-4 pb-12">
|
||||
{/* Back link - top left */}
|
||||
<div className="mb-6">
|
||||
<button
|
||||
type="button"
|
||||
onClick={() => navigate("/")}
|
||||
className="text-sm text-muted-foreground hover:underline"
|
||||
>
|
||||
← Tillbaka till startsidan
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div className="max-w-2xl mx-auto">
|
||||
{/* Back link - top left */}
|
||||
<div className="mb-6">
|
||||
<button
|
||||
type="button"
|
||||
onClick={() => navigate("/")}
|
||||
className="text-sm text-muted-foreground hover:underline"
|
||||
>
|
||||
← Tillbaka till startsidan
|
||||
</button>
|
||||
</div>
|
||||
|
||||
{/* Header */}
|
||||
<div className="text-center mb-8">
|
||||
|
||||
Reference in New Issue
Block a user