MediaViewer: apply insets padding
All checks were successful
/ depoly (push) Successful in 57s

This commit is contained in:
thislight 2024-08-05 16:44:12 +08:00
parent 94088768ba
commit 66366e6486
No known key found for this signature in database
GPG key ID: A50F9451AC56A63E

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 {