diff --git a/themes/opentermsarchive/assets/css/components/refItem.css b/themes/opentermsarchive/assets/css/components/refItem.css index 009f26f7..6b6763b5 100644 --- a/themes/opentermsarchive/assets/css/components/refItem.css +++ b/themes/opentermsarchive/assets/css/components/refItem.css @@ -35,6 +35,11 @@ font-weight: 400; } +.refItem-anchor{ + padding-left: 1rem; + padding-top: 0.2rem; +} + .refItem-anchor-icon { opacity: 0; color: var(--colorBlack600); diff --git a/themes/opentermsarchive/layouts/shortcodes/refItem.html b/themes/opentermsarchive/layouts/shortcodes/refItem.html index e70c9d50..220b1ccd 100644 --- a/themes/opentermsarchive/layouts/shortcodes/refItem.html +++ b/themes/opentermsarchive/layouts/shortcodes/refItem.html @@ -10,14 +10,16 @@ {{ $anchorID := $name | lower | replaceRE "[^a-z0-9-]" "-" | replaceRE "-+" "-" | replaceRE "^-" "" | replaceRE "-$" "" }}
- - {{ $name }} - {{ $type }} - {{ with $required }} - {{ if eq . true }}required{{ else }}{{ . | markdownify }}{{ end }} - {{ end }} +
+ {{ $name }} + {{ $type }} + {{ with $required }} + {{ if eq . true }}required{{ else }}{{ . | markdownify }}{{ end }} + {{ end }} + - + +
{{ $description | markdownify | safeHTML }}
{{ if $default }}