964968be39
Use class "hidden" instead of styled classes to ensure that input elments stay hidden when the Content-Security-Policy header has "style-src 'self';"
12 lines
362 B
HTML
12 lines
362 B
HTML
<div class="book-expand">
|
|
<label>
|
|
<div class="book-expand-head flex justify-between">
|
|
<span>{{ default "Expand" (.Get 0) }}</span>
|
|
<span>{{ default "↕" (.Get 1) }}</span>
|
|
</div>
|
|
<input type="checkbox" class="hidden" />
|
|
<div class="book-expand-content markdown-inner">
|
|
{{ .Inner | markdownify }}
|
|
</div>
|
|
</label>
|
|
</div>
|