fix: stretch grid item height for category card

This commit is contained in:
Tim Rijkse
2026-01-15 14:18:29 +01:00
parent 846cfeef55
commit 968d2036b4
2 changed files with 3 additions and 0 deletions

View File

@@ -428,6 +428,7 @@ site-content {
grid-template-columns: repeat(2, 1fr);
gap: var(--spacing-md, 1rem); /* 16px */
padding-bottom: var(--spacing-md, 1rem);
align-items: stretch;
}
/* ==========================================================================

View File

@@ -48,12 +48,14 @@ class CategoryCard extends HTMLElement {
<style>
:host {
display: block;
height: 100%;
}
.card {
display: flex;
flex-direction: column;
align-items: center;
height: 100%;
color: inherit;
padding: var(--spacing-md, 0.875rem) var(--spacing-xs, 0.25rem);
text-decoration: none;