Fix add-to-cart button alignment in product cards (v0.1.10)
All checks were successful
Create Release Package / PHP Lint (push) Successful in 51s
Create Release Package / PHPUnit Tests (push) Successful in 57s
Create Release Package / Build Release (push) Successful in 1m8s

Add mt-auto to card-footer so the button is always pinned to the
bottom of the card, even when the product has no price.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-29 16:48:46 +02:00
parent f64e9cd5a2
commit f8394722cc
4 changed files with 18 additions and 3 deletions

View File

@@ -37,7 +37,7 @@
{{ do_action('woocommerce_after_shop_loop_item_title') }}
</div>
<div class="card-footer bg-transparent border-0 pt-0 pb-3 px-3">
<div class="card-footer bg-transparent border-0 pt-0 pb-3 px-3 mt-auto">
{{ do_action('woocommerce_after_shop_loop_item') }}
</div>
</article>