Remove backdrop on mobile portrait for full-width drawers

Remove the backdrop element in mobile portrait mode since the drawer now covers 100vw, making the overlay unnecessary. Applied to both RendererDrawer and ServerDrawer components.
This commit is contained in:
2026-03-25 12:34:18 +01:00
parent 5095dd6964
commit 04793da52c
2 changed files with 2 additions and 4 deletions

View File

@@ -716,8 +716,7 @@ function handleSettingsClick() {
@media (max-width: 768px) and (orientation: portrait) {
.drawer-backdrop {
left: 0; /* Mobile portrait: backdrop commence à gauche car drawer prend 100vw */
background: rgba(0, 0, 0, 0.4); /* Plus sombre sur mobile */
display: none; /* Mobile portrait: le drawer couvre 100vw, pas besoin de backdrop */
}
}