mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-23 01:13:48 +01:00
fix: iPhone X以降(?)でページの内容が全て表示しきれないのを修正 (#8375)
* add safe-area-inset-bottom to spacer
* fix
* ✌️
* fix
This commit is contained in:
parent
743a743251
commit
a004cfe950
@ -53,7 +53,7 @@ onMounted(() => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 500px) {
|
@media (max-width: 500px) {
|
||||||
bottom: 92px;
|
bottom: calc(env(safe-area-inset-bottom, 0px) + 92px);
|
||||||
padding: 0 8px;
|
padding: 0 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -265,7 +265,7 @@ const wallpaper = localStorage.getItem('wallpaper') != null;
|
|||||||
min-width: 0;
|
min-width: 0;
|
||||||
|
|
||||||
> .spacer {
|
> .spacer {
|
||||||
height: 82px;
|
height: calc(env(safe-area-inset-bottom, 0px) + 96px);
|
||||||
|
|
||||||
@media (min-width: ($widgets-hide-threshold + 1px)) {
|
@media (min-width: ($widgets-hide-threshold + 1px)) {
|
||||||
display: none;
|
display: none;
|
||||||
|
Loading…
Reference in New Issue
Block a user