rancher / dashboard

The Rancher UI
https://rancher.com
Apache License 2.0
450 stars 258 forks source link

[@rancher/components] Card.vue: Toggle horizontal rule #8799

Open rak-phillip opened 1 year ago

rak-phillip commented 1 year ago

The default card styles contain a horizontal rule between the title and card body. This horizontal rule isn't always preferred in card usage so it would be nice if we could disable when the consumer desires.

It might make sense to shift the horizontal rule into the title slot and allow the consumer to override via slot usage. However, taking this approach might break existing cards that utilize the slot to generate a title so it might be better to introduce a prop that allows for the toggle.

🔳 Acceptance Criteria

gaktive commented 1 year ago

Depends on what's decided on rancher/dashboard#8859 for the overall approach to cards. That's lined up for Q3.