From 5232d09af520e12bc421cf19ae5d231a7e36cd4d Mon Sep 17 00:00:00 2001
From: ArtfulAzeria <146041757+ArtfulAzeria@users.noreply.github.com>
Date: Fri, 29 Sep 2023 18:17:48 +0000
Subject: [PATCH] feat: Better and more responsive tag behavior (#515)
---
quartz/components/Header.tsx | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/quartz/components/Header.tsx b/quartz/components/Header.tsx
index 06ae88b..5281f72 100644
--- a/quartz/components/Header.tsx
+++ b/quartz/components/Header.tsx
@@ -1,9 +1,7 @@
import { QuartzComponentConstructor, QuartzComponentProps } from "./types"
function Header({ children }: QuartzComponentProps) {
- return (children.length > 0) ? <header>
- {children}
- </header> : null
+ return children.length > 0 ? <header>{children}</header> : null
}
Header.css = `
@@ -11,7 +9,8 @@
display: flex;
flex-direction: row;
align-items: center;
- margin: 2em 0;
+ margin: 2rem 0;
+ gap: 1.5rem;
}
header h1 {
--
Gitblit v1.10.0