From 3a9d3ac9aa08f06e82df8a1b8e0aec8bf2e77b4e Mon Sep 17 00:00:00 2001 From: ekzyis Date: Wed, 10 Jul 2024 09:22:35 +0200 Subject: [PATCH] Use fixed height for figlet --- public/css/_tw-input.css | 8 ++++++++ server/router/pages/about.templ | 2 +- server/router/pages/error.templ | 2 +- server/router/pages/index.templ | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/public/css/_tw-input.css b/public/css/_tw-input.css index 56127f3..6d27a0c 100644 --- a/public/css/_tw-input.css +++ b/public/css/_tw-input.css @@ -47,4 +47,12 @@ width: 300px; aspect-ratio: 560/315; } + + .figlet { + display: flex; + align-items: center; + justify-content: center; + height: 144px; + @apply my-3 + } } \ No newline at end of file diff --git a/server/router/pages/about.templ b/server/router/pages/about.templ index 1c2e7ab..9d00931 100644 --- a/server/router/pages/about.templ +++ b/server/router/pages/about.templ @@ -11,7 +11,7 @@ templ About() { @components.Header()
- +
 							{ lib.Figlet("random", "about") }
diff --git a/server/router/pages/error.templ b/server/router/pages/error.templ
index 95eb060..6b3de29 100644
--- a/server/router/pages/error.templ
+++ b/server/router/pages/error.templ
@@ -13,7 +13,7 @@ templ Error(code int) {
 		
 			@components.Header()
 			
- +
 							{ lib.Figlet("random", strconv.Itoa(code)) }
diff --git a/server/router/pages/index.templ b/server/router/pages/index.templ
index 9fb6e9f..97f1eed 100644
--- a/server/router/pages/index.templ
+++ b/server/router/pages/index.templ
@@ -11,7 +11,7 @@ templ Index() {
 		
 			@components.Header()
 			
- +