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
+1 -1
View File
@@ -85,7 +85,7 @@
</div>
{{ end }}
{{ if and .Draft .Site.Params.article.showDraftLabel }}
<div class="ltr:ml-2 rtl:mr-2">{{ partial "badge.html" (i18n "article.draft" | emojify) }}</div>
<div class="ms-2">{{ partial "badge.html" (i18n "article.draft" | emojify) }}</div>
{{ end }}
{{ if templates.Exists "partials/extend-article-link.html" }}
{{ partial "extend-article-link.html" . }}