Fix: button always pinned to bottom of card regardless of content height

This commit is contained in:
Oliver
2026-05-05 14:27:55 -03:00
parent 8bb70a9af0
commit eb2f6802fd
+3 -2
View File
@@ -1249,6 +1249,8 @@
border-radius: 24px; border-radius: 24px;
overflow: hidden; overflow: hidden;
background: var(--card); background: var(--card);
display: flex;
flex-direction: column;
} }
.news-card-image { .news-card-image {
@@ -1260,8 +1262,7 @@
.news-card-body { .news-card-body {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: space-between; flex: 1;
min-height: 210px;
padding: 20px; padding: 20px;
background: var(--lift); background: var(--lift);
} }