Refactor feature shortcodes for improved layout and styling

- Updated the feature shortcode in both `feature.html` files to change the list item class from `items-center` to `items-start` for better alignment.
- Adjusted the SVG icon class to include `flex-shrink-0 mt-1` and set minimum width and height for consistent sizing.
- Enhanced the CSS source map for `custom.css` to improve debugging and maintainability.
This commit is contained in:
Boris Waaub
2026-02-09 12:15:51 +01:00
parent 8c77a325f6
commit 9073e8b506
8 changed files with 325 additions and 388 deletions
@@ -32,11 +32,11 @@
<p class="text-lg text-gray-600">{{ $description }}</p>
<ul class="space-y-4">
{{ range $features }}
<li class="flex items-center space-x-3">
<svg class="badge-icon w-5 h-5" fill="currentColor" viewBox="0 0 20 20">
<li class="flex items-start space-x-3">
<svg class="badge-icon w-5 h-5 flex-shrink-0 mt-1" fill="currentColor" viewBox="0 0 20 20" style="min-width:1.25rem; min-height:1.25rem;">
<path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z" clip-rule="evenodd"/>
</svg>
<span>{{ . | default "" }}</span>
<span>{{ . | default "" }}</span>
</li>
{{ end }}
</ul>