mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-05-06 11:09:18 +02:00
Lock body scroll: only main/inner elements scroll on admin and public pages
This commit is contained in:
1
TODO.md
1
TODO.md
@@ -5,3 +5,4 @@
|
||||
- [x] Replace JS toast system with pure HTMX toast fragment (top-right, CSS-only auto-fade)
|
||||
- [x] Separate admin views from controllers: move all HTML to `templates/admin/*.php`, fragments to `templates/admin/partials/`
|
||||
- [x] Add SMTP test email button in parametres.php (action + CSS)
|
||||
- [x] Lock body scroll on all pages (admin + public); only `main` or inner element scrolls
|
||||
|
||||
@@ -8,7 +8,8 @@
|
||||
.admin-body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* Keep admin header single-row like public header */
|
||||
@@ -49,6 +50,8 @@
|
||||
|
||||
.admin-body main {
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
overflow-y: auto;
|
||||
padding: var(--space-l) var(--space-l) var(--space-2xl);
|
||||
max-width: 1100px;
|
||||
width: 100%;
|
||||
|
||||
@@ -10,6 +10,8 @@
|
||||
|
||||
.apropos-main {
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
overflow-y: auto;
|
||||
padding: var(--space-xl) var(--space-l) var(--space-2xl);
|
||||
}
|
||||
|
||||
|
||||
@@ -6,6 +6,8 @@
|
||||
|
||||
.tfe-main {
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
overflow-y: auto;
|
||||
padding: var(--space-l) var(--space-m) var(--space-xl);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user