From 0772b4df8ce40d9e85553f5442c38bd547cd3a66 Mon Sep 17 00:00:00 2001 From: jihoonahn Date: Mon, 11 Dec 2023 07:01:25 +0900 Subject: [PATCH] Update Header option --- Sources/Components/Header.swift | 2 +- Sources/Layouts/BaseLayout.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/Components/Header.swift b/Sources/Components/Header.swift index 796ab9a..656f505 100644 --- a/Sources/Components/Header.swift +++ b/Sources/Components/Header.swift @@ -82,6 +82,6 @@ struct Header: Component { ) } .id("header") - .class("fixed top-0 left-0 w-full z-20 bg-blog-c-nav backdrop-saturate-125 backdrop-blur-xl") + .class("relative md:fixed top-0 left-0 w-full z-20 bg-blog-c-nav backdrop-saturate-125 backdrop-blur-xl") } } diff --git a/Sources/Layouts/BaseLayout.swift b/Sources/Layouts/BaseLayout.swift index 670dfeb..22ca40b 100644 --- a/Sources/Layouts/BaseLayout.swift +++ b/Sources/Layouts/BaseLayout.swift @@ -23,7 +23,7 @@ struct BaseLayout: HTMLConvertable { component() } .id("main") - .class("relative z-10 flex flex-1 flex-col min-h-screen pt-20 pb-14") + .class("relative z-10 flex flex-1 flex-col min-h-screen pt-3 md:pt-20 pb-14") Footer(context: context) BasicScripts() }