Merge pull request #454 from mirceanton/bug/alert_shortcode

🐛 Icon not centered in alert shortcode
This commit is contained in:
Nuno Coração 2023-01-16 21:15:42 +00:00 committed by GitHub
commit b41b5aeb70
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,5 @@
<div class="flex px-4 py-3 rounded-md bg-primary-100 dark:bg-primary-900">
<span class="text-primary-400 ltr:pr-3 rtl:pl-3">
<span class="text-primary-400 ltr:pr-3 rtl:pl-3 flex items-center">
{{ partial "icon.html" (.Get 0 | default "triangle-exclamation") }}
</span>
<span class="dark:text-neutral-300">