From 247135e535a5295acdbaca92f39b8a39406ec946 Mon Sep 17 00:00:00 2001 From: Andrew <74398819+AndrewDTR@users.noreply.github.com> Date: Mon, 11 Nov 2024 01:41:39 -0600 Subject: [PATCH] make the git cmd stay on one line --- src/pages/about.astro | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/pages/about.astro b/src/pages/about.astro index d6d9217..9b5e51f 100644 --- a/src/pages/about.astro +++ b/src/pages/about.astro @@ -121,7 +121,7 @@ import BaseLayout from "../layouts/BaseLayout.astro"; the commit link in the footer. If you're wondering, that's done server-side at build time by parsing the output of git rev-parse --short HEAD (which is + > by parsing the output of git rev-parse --short HEAD (which is ran by Node.js' child_process). That feature was inspired by Xe Iaso, whose work I've seen on Hacker News.

@@ -172,4 +172,8 @@ import BaseLayout from "../layouts/BaseLayout.astro"; width: 100%; } } + + .git-cmd { + white-space: nowrap; + }