1
0
Fork 1
mirror of https://github.com/elk-zone/elk.git synced 2024-11-04 16:09:59 +00:00

feat: adapt safe area for mobile

closes #326
This commit is contained in:
三咲智子 2022-12-04 23:35:11 +08:00
parent 39676dab5f
commit 33a51b65b4
No known key found for this signature in database
GPG key ID: 69992F2250DFD93E

View file

@ -17,7 +17,7 @@
<div min-h-screen>
<slot />
</div>
<div sticky left-0 right-0 bottom-0 z-10 bg-base>
<div sticky left-0 right-0 bottom-0 z-10 bg-base pb="[env(safe-area-inset-bottom)]" transition="padding 20">
<CommonOfflineChecker :small-screen="isSmallScreen" />
<NavBottom v-if="isSmallScreen" />
</div>