theme: whitespace

This commit is contained in:
Sören Weber 2022-02-06 17:10:50 +01:00
parent 8f2d1d75e2
commit 017f1004ab
No known key found for this signature in database
GPG key ID: 07D17FF580AE7589
2 changed files with 3 additions and 3 deletions

View file

@ -5,7 +5,7 @@
<div class="expand
{{- if $expanded }} expand-expanded{{ end -}}
">
{{/* things are getting complicated when search tries to open the expand box while jquery sets the display CSS on the element */}}
{{/* things are getting complicated when search tries to open the expand box while jquery sets the display CSS on the element */}}{{ "" -}}
<a class="expand-label" onclick="$t=$(this); if($t.parent('.expand-expanded.expand-marked').length){ $t.next().css('display','none') }else if($t.parent('.expand-marked').length){ $t.next().css('display','block') }else{ $t.next('.expand-content').slideToggle(100); } $t.parent().toggleClass('expand-expanded');">
<i class="fas fa-chevron-down"></i>
<i class="fas fa-chevron-right"></i>
@ -14,6 +14,6 @@
<div class="expand-content" style="display:
{{- if $expanded }} block{{ else }} none{{ end -}}
;">
{{ $content }}
{{ $content }}
</div>
</div>

View file

@ -3,5 +3,5 @@
{{- $title := .Get 1 | default ($style | T) }}
<div class="notices {{ $style }}">
<div class="label">{{ $title }}</div>
{{- .Inner }}
{{ .Inner -}}
</div>