mirror of
https://github.com/TrezOne/congo-hindi-gujarati.git
synced 2026-07-19 17:13:02 -04:00
🎨 Tailwind classes cleanup
This commit is contained in:
@@ -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,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 }}
|
||||
|
||||
Reference in New Issue
Block a user