MediaViewer: apply insets padding
This commit is contained in:
parent
147a5bb488
commit
ac178986d8
1 changed files with 7 additions and 0 deletions
|
@ -128,6 +128,13 @@ const MediaViewer: ParentComponent<MediaViewerProps> = (props) => {
|
||||||
left: 0;
|
left: 0;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
cursor: ${dragging() ? "grabbing" : "grab"};
|
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 {
|
.left-dock {
|
||||||
|
|
Loading…
Reference in a new issue