mirror of
https://github.com/saicaca/fuwari.git
synced 2026-01-11 23:02:53 +01:00
fix: style improvements for mobile view
This commit is contained in:
@@ -129,7 +129,7 @@ if (title) {
|
||||
|
||||
@layer components {
|
||||
.banner-home {
|
||||
@apply h-[var(--banner-height-home)]
|
||||
@apply h-[var(--banner-height)] md:h-[var(--banner-height-home)]
|
||||
}
|
||||
.banner-else {
|
||||
@apply h-[var(--banner-height)]
|
||||
|
||||
@@ -27,7 +27,7 @@ const enableBanner = siteConfig.banner.enable;
|
||||
transition:animate="none"
|
||||
>
|
||||
<div id="top-row" class="col-span-2 grid-rows-1 z-50" class:list={["transition-all", {
|
||||
'h-[calc(var(--banner-height-home)_-_72px)]': enableBanner && isHomePage,
|
||||
'h-[calc(var(--banner-height)_-_72px)] md:h-[calc(var(--banner-height-home)_-_72px)]': enableBanner && isHomePage,
|
||||
'h-[calc(var(--banner-height)_-_72px)]': enableBanner && !isHomePage,}]}
|
||||
>
|
||||
<Navbar transition:animate="fade" transition:persist></Navbar>
|
||||
|
||||
Reference in New Issue
Block a user