mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-13 09:57:16 -04:00
theme: Adjust spacing in highlighting theme examples
This commit is contained in:
parent
2fcd21ee5c
commit
245351c846
@ -54,14 +54,14 @@ string = 'foo'
|
||||
{{- with site.Data.docs.chroma.styles }}
|
||||
{{- range $style := . }}
|
||||
|
||||
### {{ $style }} {class="!mt-7 !mb-1"}{{/* Do not indent. */}}
|
||||
### {{ $style }} {class="!mt-7 !mb-6"}{{/* Do not indent. */}}
|
||||
|
||||
{{- range $examples }}
|
||||
|
||||
{{ .lang }}{{/* Do not indent. */}}
|
||||
{class="text-sm !mt-5 !mb-1"}{{/* Do not indent. */}}
|
||||
{class="text-sm !-mt-3 !-mb-5"}{{/* Do not indent. */}}
|
||||
|
||||
```{{ .lang }} {class="!my-0" noClasses=true style="{{ $style }}"}{{/* Do not indent. */}}
|
||||
```{{ .lang }} {noClasses=true style="{{ $style }}"}{{/* Do not indent. */}}
|
||||
{{- .code | safeHTML -}}{{/* Do not indent. */}}
|
||||
```{{/* Do not indent. */}}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user