From 1fda6d5cda1aae0397c67253a25fe62de192b556 Mon Sep 17 00:00:00 2001 From: itqop Date: Wed, 31 Dec 2025 03:04:36 +0300 Subject: [PATCH] fix full view --- frontend/index.html | 2 +- frontend/src/components/ViewerModal.tsx | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/frontend/index.html b/frontend/index.html index 4e712f4..2868d69 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -3,7 +3,7 @@ - + ITCloud - Облачное хранилище diff --git a/frontend/src/components/ViewerModal.tsx b/frontend/src/components/ViewerModal.tsx index 7a74a7a..d697137 100644 --- a/frontend/src/components/ViewerModal.tsx +++ b/frontend/src/components/ViewerModal.tsx @@ -167,7 +167,9 @@ export default function ViewerModal({ top: 0, left: 0, right: 0, - p: 2, + pt: 'max(env(safe-area-inset-top), 8px)', + px: 2, + pb: 2, display: 'flex', justifyContent: 'space-between', alignItems: 'center', @@ -268,7 +270,9 @@ export default function ViewerModal({ bottom: 0, left: 0, right: 0, - p: 2, + px: 2, + pt: 2, + pb: 'max(env(safe-area-inset-bottom), 8px)', bgcolor: 'rgba(0,0,0,0.5)', color: 'white', display: 'flex',