Skip to content
Snippets Groups Projects
Commit 1f5e4b25 authored by Kasper Seweryn's avatar Kasper Seweryn :pancakes: Committed by Georg Krause
Browse files

fix(cards): make buttons always attached to the bottom despite the card height

Part-of: <!34>
parent 29ee2228
No related branches found
No related tags found
1 merge request!34Resolve "Card button placement is not aligned"
Pipeline #30793 passed
...@@ -13,7 +13,9 @@ ...@@ -13,7 +13,9 @@
box-shadow: 0 3px 12px 2px rgb(0 0 0 / 20%); box-shadow: 0 3px 12px 2px rgb(0 0 0 / 20%);
padding: var(--fw-card-padding); padding: var(--fw-card-padding);
font-size: 1rem; font-size: 1rem;
display: block;
display: flex;
flex-flow: column;
&.is-link { &.is-link {
cursor: pointer; cursor: pointer;
...@@ -61,6 +63,7 @@ ...@@ -61,6 +63,7 @@
> .card-button { > .card-button {
padding-top: 30px; padding-top: 30px;
margin-top: auto;
> .funkwhale.button { > .funkwhale.button {
width: 100%; width: 100%;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment