Open Samrose-Ahmed opened 9 months ago
Hello!
With such a small row span, the board item will only fit the header and no content. Screenshot from modified version of our demo:
Is this what you want? Why?
Think of e.g. headers of sections in a dashboard, where often the header is the only thing needed
e.g. in cloudwatch:
itd be good to make the body min height 0 as well.
Alright, I got your ask now and updated the ticket name.
I think we can do better treatment for this feature than a "fake widget".
However it is the first time we receive this ask, so no particular plans to address this.
Description
Currently, the BoardItem must have minimum rowSpan (height) of 2 (https://github.com/cloudscape-design/board-components/blob/19395ad6640efd93c30798d27d61a8b44b4b5c56/src/internal/constants.ts#L4)
But, for something like e.g a markdown/header/text component it is better to have a height=1 alllowed (e.g. imagine a header that is full width and height=1). I'm currently patching that one line.
Code of Conduct