refactor(layout): apply full-width layout to all pages
- Remove max-w-7xl containers from all page templates - Replace with w-full for full-screen width utilization - Maintain padding for readability - Admin templates: modify inner content div only (preserve sidebar layout)
This commit is contained in:
@@ -16,7 +16,7 @@ templ Collection(user User, collections []CollectionData, errorMessage string) {
|
||||
<body class="theme-{ user.Theme }">
|
||||
@Header(user, "/collections")
|
||||
|
||||
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
|
||||
<div class="w-full px-4 sm:px-6 lg:px-8 py-8">
|
||||
<div class="mb-8 flex justify-between items-center">
|
||||
<div>
|
||||
<h1 class="text-3xl font-bold" style="color: var(--text-primary)">My Collections</h1>
|
||||
@@ -227,7 +227,7 @@ templ CollectionDetail(user User, collection CollectionData, books []handlers.Bo
|
||||
<body class="theme-{ user.Theme }">
|
||||
@Header(user, "/collections")
|
||||
|
||||
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
|
||||
<div class="w-full px-4 sm:px-6 lg:px-8 py-8">
|
||||
<div class="mb-6">
|
||||
<button onclick="backToCollections()" class="btn-secondary px-4 py-2 rounded-lg mb-4">
|
||||
← Back to Collections
|
||||
|
||||
Reference in New Issue
Block a user