fix: RTL Steps FileTree, feat: Add Persian number for ol label counter and Steps (#314)

* fix: RTL Steps in steps.html file

* feat: Add bidirectional support

* fix: RTL problem

* fix: RTL problem, feat: Add Persian CSS counter

* feat: Add Persian for ol counter

* fix: styling text

* Add ol output example

* fix: RTL problem

* fix some issue

* fix some issue

* fix some issue
This commit is contained in:
Goudarz Jafari
2024-03-05 11:17:29 +03:30
committed by GitHub
parent fba95d5336
commit 22d4737b99
13 changed files with 85 additions and 37 deletions

View File

@ -9,9 +9,9 @@
<span data-state="{{ $state }}" class="data-[state=closed]:hx-hidden">
{{- partial "utils/icon" (dict "name" "folder-open" "attributes" "width=1em") -}}
</span>
<span class="hx-ml-1">{{ $name }}</span>
<span class="ltr:hx-ml-1 rtl:hx-mr-1">{{ $name }}</span>
</button>
<ul data-state="{{ $state }}" class="hx-pl-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 -}}
</ul>
</li>