summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordemo <demo@antix1>2026-05-07 16:11:31 -0400
committerdemo <demo@antix1>2026-05-07 16:11:31 -0400
commitc2421cb225e7976cb406cb20ae87c7c9c1c8f43b (patch)
tree03142fd3991fea508be12278fc27e20fcec916c7
parent526ae6edc7675ccab41f7b854cc277088f02e0ab (diff)
feat: format options-links as a column of entries
-rw-r--r--views/page.gohtml8
-rw-r--r--views/static/style.css5
2 files changed, 8 insertions, 5 deletions
diff --git a/views/page.gohtml b/views/page.gohtml
index 5eb49ac..80ff95b 100644
--- a/views/page.gohtml
+++ b/views/page.gohtml
@@ -5,7 +5,9 @@
<p>{{ . }}</p>
{{ end }}
- {{ range .Options }}
- <a href="/{{ .Arc }}">{{ .Text }}</a>
- {{ end }}
+ <div class="options">
+ {{ range .Options }}
+ <a href="/{{ .Arc }}">{{ .Text }}</a>
+ {{ end }}
+ </div>
{{ end }}
diff --git a/views/static/style.css b/views/static/style.css
index ec71292..44caf6a 100644
--- a/views/static/style.css
+++ b/views/static/style.css
@@ -1,3 +1,4 @@
-a {
- color: red;
+.options {
+ display: flex;
+ flex-direction: column;xp
}