]> danix's work - danix.xyz-2.git/commit
Allow custom sizing in image shortcode
authorDanilo M. <redacted>
Wed, 15 Apr 2026 20:41:41 +0000 (22:41 +0200)
committerDanilo M. <redacted>
Wed, 15 Apr 2026 20:41:41 +0000 (22:41 +0200)
commitb14e1db1b6bd40b401387e90af4bdd2acde41ca7
treea86dcfd1c721acba24b4f3f546d6142392255487
parent71b7e2558045896eaf5eb84a10006f10a5a61d8c
Allow custom sizing in image shortcode

- Move w-full h-auto into default class parameter instead of hardcoding
- Users can now override sizing with custom class parameter
- Default still applies w-full h-auto if no class specified
- Update SHORTCODES.md documentation with sizing examples
- Add CSS class reference tables for common sizing patterns

Co-Authored-By: Claude Haiku 4.5 <redacted>
SHORTCODES.md
themes/danix-xyz-hacker/layouts/shortcodes/image.html