Fix: button always pinned to bottom of card regardless of content height
This commit is contained in:
+3
-2
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user