mirror of
https://github.com/kokonect-link/cherrypick
synced 2024-11-28 23:09:10 +09:00
fix: iPhone X以降(?)でページの内容が全て表示しきれないのを修正 (#8375)
* add safe-area-inset-bottom to spacer
* fix
* ✌️
* fix
This commit is contained in:
parent
5431b51249
commit
446e4ce0c3
@ -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