From 043c8dbda4e809d10a523f93538ab42d9b8b20c0 Mon Sep 17 00:00:00 2001 From: Ash Keel Date: Sat, 18 Feb 2023 13:02:00 +0100 Subject: [PATCH] I'm gonna get this space right whether hugo likes it or not --- layouts/api/list.html | 4 ++-- themes/strimertul/assets/scss/api.scss | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/layouts/api/list.html b/layouts/api/list.html index 7c180b2..de08952 100644 --- a/layouts/api/list.html +++ b/layouts/api/list.html @@ -2,7 +2,7 @@ {{ with .element }} {{ with $.name }} -
{{ . }}{{ ": " }}
+
{{ . }}:
{{ end }} {{ if (eq $.kind "array") }} arrayOf [ @@ -28,7 +28,7 @@ * - {{ end }}{{ ": " }} + {{ end }}: {{ end }} {{ .kind }} diff --git a/themes/strimertul/assets/scss/api.scss b/themes/strimertul/assets/scss/api.scss index 747c995..401b464 100644 --- a/themes/strimertul/assets/scss/api.scss +++ b/themes/strimertul/assets/scss/api.scss @@ -87,6 +87,7 @@ list-style-type: none; & > code > .nameblock { display: inline-flex; + padding-right: 0.5rem; & > .name { &::before, &::after {