icon: remove whitespace on start #560

This commit is contained in:
Sören Weber 2023-06-08 13:36:12 +02:00
parent 746e2e7d91
commit 310df3425f
No known key found for this signature in database
GPG key ID: BEC6D55545451B6D
2 changed files with 3 additions and 1 deletions

View file

@ -5,7 +5,7 @@
{{- $icon = printf "fa-fw fas fa-%s" $icon }}
{{- end }}
{{- with $context }}
{{- if $icon }}
{{- if $icon -}}
<i class="{{ $icon }}"></i>
{{- end }}
{{- end }}

View file

@ -1950,10 +1950,12 @@ html[dir="rtl"] #sidebar ul.collapsible-menu > li > label > i.fa-chevron-right {
#body .tab-content-text{
padding: 1rem;
}
/* remove margin if only a single code block is contained in the tab */
#body .tab-content.tab-panel-style.code > .tab-content-text{
padding: 0;
}
/* remove border from a code block if single */
#body .tab-content-text > div.highlight:only-child > pre,
#body .tab-content-text > pre.pre-code:only-child{