mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-12-22 16:30:13 +00:00
fix: iPhone X以降(?)でページの内容が全て表示しきれないのを修正 (#8375)
* add safe-area-inset-bottom to spacer
* fix
* ✌️
* fix
This commit is contained in:
parent
5431b51249
commit
446e4ce0c3
2 changed files with 2 additions and 2 deletions
|
@ -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 a new issue