forked from drowl87/hextra_mirror
fix: use InnerDeindent for filetree shortcode rendering (#613)
This commit is contained in:
parent
2b83a3762f
commit
a2718d8aa3
@ -1,5 +1,5 @@
|
|||||||
<div class="hextra-filetree hx-mt-6 hx-select-none hx-text-sm hx-text-gray-800 dark:hx-text-gray-300 not-prose">
|
<div class="hextra-filetree hx-mt-6 hx-select-none hx-text-sm hx-text-gray-800 dark:hx-text-gray-300 not-prose">
|
||||||
<div class="hx-inline-block hx-rounded-lg hx-border hx-px-4 hx-py-2 dark:hx-border-neutral-800">
|
<div class="hx-inline-block hx-rounded-lg hx-border hx-px-4 hx-py-2 dark:hx-border-neutral-800">
|
||||||
{{- .Inner -}}
|
{{- .InnerDeindent -}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -12,6 +12,6 @@
|
|||||||
<span class="ltr:hx-ml-1 rtl:hx-mr-1">{{ $name }}</span>
|
<span class="ltr:hx-ml-1 rtl:hx-mr-1">{{ $name }}</span>
|
||||||
</button>
|
</button>
|
||||||
<ul data-state="{{ $state }}" class="ltr:hx-pl-5 rtl:hx-pr-5 data-[state=closed]:hx-hidden">
|
<ul data-state="{{ $state }}" class="ltr:hx-pl-5 rtl:hx-pr-5 data-[state=closed]:hx-hidden">
|
||||||
{{- .Inner -}}
|
{{- .InnerDeindent -}}
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user