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

@@ -449,8 +449,7 @@ async function handleTransferQueue(event: Event, targetRendererId: string) {
@media (max-width: 768px) and (orientation: portrait) { @media (max-width: 768px) and (orientation: portrait) {
.drawer-backdrop { .drawer-backdrop {
right: 0; /* Mobile portrait: backdrop prend tout l'écran */ display: none; /* Mobile portrait: le drawer couvre 100vw, pas besoin de backdrop */
background: rgba(0, 0, 0, 0.4); /* Plus sombre sur mobile */
} }
} }

View File

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