🎨 Tailwind classes cleanup

This commit is contained in:
James Panther
2023-12-26 11:56:32 +11:00
parent 6415614513
commit 68ce84075e
26 changed files with 107 additions and 105 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
<div class="flex px-4 py-3 rounded-md bg-primary-100 dark:bg-primary-900">
<div class="flex rounded-md bg-primary-100 px-4 py-3 dark:bg-primary-900">
<span class="pe-3 text-primary-400">
{{ partial "icon.html" (.Get 0 | default "triangle-exclamation") }}
</span>
+1 -1
View File
@@ -1,6 +1,6 @@
{{ $icon := resources.Get (printf "icons/%s.svg" ($.Get 0)) }}
{{ if $icon }}
<span class="relative inline-block align-text-bottom icon">
<span class="icon relative inline-block align-text-bottom">
{{ $icon.Content | safeHTML }}
</span>
{{ else }}