From 3fd17c84becf579e060eebe4d7aac14e54ec5c98 Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Fri, 3 Jan 2025 14:59:59 +0200 Subject: Refactored terminal border to allow injecting arbitrary tailwind css --- src/components/TerminalBorder.astro | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/components/TerminalBorder.astro') diff --git a/src/components/TerminalBorder.astro b/src/components/TerminalBorder.astro index eae9cc0..42cf5af 100644 --- a/src/components/TerminalBorder.astro +++ b/src/components/TerminalBorder.astro @@ -2,13 +2,13 @@ interface Props { header?: string; footer?: string; - margin?: string; + extra?: string; } -const { header = "", footer = "", margin = "-0.1vw" } = Astro.props; +const { header = "", footer = "", extra = "m-[-0.1vw]" } = Astro.props; --- -
+
{header} {footer} -- cgit v1.3.1