From 6815f1a762f7ecc3110e107f827a3c7a29b9b05f Mon Sep 17 00:00:00 2001 From: ngn Date: Mon, 26 Aug 2024 00:41:09 +0300 Subject: [PATCH] update: better table alignment for the package file list --- public/style.css | 13 ++++++++----- templates/package.html | 2 +- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/public/style.css b/public/style.css index ed5d47f..76ba544 100644 --- a/public/style.css +++ b/public/style.css @@ -22,15 +22,18 @@ main { padding: 10px; border: 1px solid var(--bright-third); background: var(--dark-second); - color: var(--bright-second); + color: var(--bright-main); + vertical-align: top; text-align: left; + font-weight: 400; + font-size: 16px; flex-grow: 4; } -.package th { - color: var(--bright-main); - font-weight: 400; - font-size: 16px; +.package .files { + display: flex; + flex-direction: column; + gap: 3px; } .package th a { diff --git a/templates/package.html b/templates/package.html index 4ff8fa4..9c5aecc 100644 --- a/templates/package.html +++ b/templates/package.html @@ -51,7 +51,7 @@ {{if $files}} Files - + {{range $files}}

/{{.}}

{{end}}