mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-05 23:56:42 +08:00
针对异形屏做了优化
This commit is contained in:
@@ -7,11 +7,12 @@
|
|||||||
.v-dialog > .v-overlay__content {
|
.v-dialog > .v-overlay__content {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
max-width: calc(100% - 1rem);
|
max-width: calc(100% - 1rem);
|
||||||
max-height: calc(100% - 1rem);
|
max-height: calc(100% - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 1rem);
|
||||||
}
|
}
|
||||||
|
|
||||||
.v-dialog--fullscreen > .v-overlay__content {
|
.v-dialog--fullscreen > .v-overlay__content {
|
||||||
|
margin-top: env(safe-area-inset-top);
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
max-height: 100%;
|
max-height: calc(100% - env(safe-area-inset-top));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user