fix: content min-height (#517)

This commit is contained in:
Clark Cui 2022-12-23 00:48:57 +08:00 committed by GitHub
parent 301c8b2612
commit 2124e8046a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -40,7 +40,7 @@
</div> </div>
</aside> </aside>
<div class="w-full sm:w-600px min-h-screen" border="none sm:l sm:r base"> <div class="w-full sm:w-600px min-h-screen" border="none sm:l sm:r base">
<div min-h-screen> <div min-h="[calc(100vh-3.5rem)]" sm:min-h-screen>
<slot /> <slot />
</div> </div>
<div sm:hidden sticky left-0 right-0 bottom-0 z-10 bg-base pb="[env(safe-area-inset-bottom)]" transition="padding 20"> <div sm:hidden sticky left-0 right-0 bottom-0 z-10 bg-base pb="[env(safe-area-inset-bottom)]" transition="padding 20">