refactor(tailwind): use logical properties for language direction

This commit is contained in:
ZhenShuo Leo
2025-08-02 07:47:41 +08:00
parent 9cc808ea93
commit 41f6b37e56
26 changed files with 90 additions and 185 deletions

View File

@@ -91,7 +91,7 @@
</div>
{{ end }}
{{ if and $target.Draft site.Params.article.showDraftLabel }}
<div class="ltr:ml-2 rtl:mr-2">
<div class="ms-2">
{{ partial "badge.html" (i18n "article.draft" | emojify) }}
</div>
{{ end }}