fix: degagement mobile sous la barre de navigation du bas (clearance retargetee .main-body) BUG-073
This commit is contained in:
+8
-5
@@ -8617,13 +8617,10 @@ body.desktop-mode .editor-container {
|
||||
}
|
||||
|
||||
/* Push content up to avoid toolbar overlap */
|
||||
.main-layout {
|
||||
.main-body {
|
||||
padding-bottom: 64px;
|
||||
padding-bottom: calc(64px + env(safe-area-inset-bottom, 0));
|
||||
}
|
||||
.editor-modal.active ~ .main-layout {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
/* Enable pull-to-refresh on mobile — unblock the overscroll chain */
|
||||
html {
|
||||
@@ -10567,7 +10564,9 @@ body.desktop-mode .editor-container {
|
||||
bottom: calc(64px + env(safe-area-inset-bottom, 0px) + 12px);
|
||||
}
|
||||
body.np-active .content-area {
|
||||
padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px) + 76px);
|
||||
/* Toolbar clearance is carried by .main-body (BUG-073): only the dock
|
||||
zone (76px above the toolbar) remains here — same total as before. */
|
||||
padding-bottom: 76px;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11600,6 +11599,10 @@ body.reading-mode .content-area {
|
||||
margin: 0 auto;
|
||||
padding: clamp(20px, 6vw, 48px) clamp(18px, 6vw, 40px) 96px;
|
||||
}
|
||||
/* The bottom toolbar is hidden in reading mode: no clearance needed. */
|
||||
body.reading-mode .main-body {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
body.reading-mode .breadcrumb,
|
||||
body.reading-mode .file-actions {
|
||||
display: none;
|
||||
|
||||
Reference in New Issue
Block a user