MediaViewer: apply insets padding

This commit is contained in:
thislight 2024-08-05 16:44:12 +08:00
parent 147a5bb488
commit ac178986d8

View file

@ -128,6 +128,13 @@ const MediaViewer: ParentComponent<MediaViewerProps> = (props) => {
left: 0;
z-index: 1;
cursor: ${dragging() ? "grabbing" : "grab"};
padding-left: var(--safe-area-inset-left, 0);
padding-right: var(--safe-area-inset-right, 0);
padding-bottom: var(--safe-area-inset-bottom, 0);
:global(> .MuiToolbar-root) {
padding-top: var(--safe-area-inset-top, 0);
}
}
.left-dock {