Replies: 3 comments
-
Right, this seems to have fixed it somewhat but the blank space is redistributed between parts
will leave issue open if there's another way anyone wants to add. |
Beta Was this translation helpful? Give feedback.
-
Is this what you're looking for? https://codepen.io/claviska/pen/MWEwGXe?editors=1100 Relevant code: sl-card {
display: flex;
}
sl-card::part(base) {
flex: 1 1 auto;
} |
Beta Was this translation helpful? Give feedback.
-
No, it doesn't have the desired effect. The body part is the one that's varies in height due to content and moves the footer up/down (depends on the tallest body). The only solution I found is making body the minimum required height:
|
Beta Was this translation helpful? Give feedback.
-
Describe the bug
Cards inside a grid don't align vertically. The
sl-card
element is being stretched however the contents is not.I tried with
but has no effect.
Also tried
which makes them equal height but leaves unwanted blank space below the footer (inside the card).
Beta Was this translation helpful? Give feedback.
All reactions