- Issue created by @spryah
- Merge request !77Issue #3445147 by spryah: default card title tag to P if there is no other textual content → (Open) created by spryah
- Status changed to Needs review
11 months ago 9:56am 13 May 2024 - Assigned to pdureau
- 🇫🇷France pdureau Paris
Very similar to 🐛 Default Tile title tag to 'p' when description is empty Needs review
- Issue was unassigned.
- 🇫🇷France pdureau Paris
Is the switch to 1.1x the opportunity to deal with this?
- 🇫🇷France just_like_good_vibes PARIS
As in 🐛 Default Tile title tag to 'p' when description is empty Needs review , let's discuss this for 1.1.x branch.
title is a slot. Do we move it as a string prop?
in that latter case, it can be safely put inside a p tag. - 🇫🇷France spryah
Ah, I see what you mean. But card titles often come with a link, so maybe it would be more accurate to keep it as a slot?
- 🇫🇷France just_like_good_vibes PARIS
Hello @spryah,
Indeed, after another check, yes we keep title as a slot, because it can be a link.
We could have introduced some props like title and url, but we won't.i am afraid we don't have a clean solution yet to address this proposal.
- Status changed to Needs work
about 1 month ago 10:28am 20 February 2025