Fix footer actions on content grid not aligning to the base of the container
When a table is displayed as a grid using contentGrid(), if the heights of each row box differs, the footer actions will stick to the bottom of the content, rather than sitting flush with the bottom of the box.
A couple of people have encountered and reported this, and this fix has worked in those cases, but this PR has not been thoroughly tested, though it is a small change.
Visual Difference
Before:
After:
Functional changes
- [ ] Conditionally switch to using
flex h-full items-stretchon content grid rows in place offlex items-center
I'm going to hold off on merging this PR, because I'm not sure if having the actions aligned at the bottom is desired for every use case.
Would it make sense to have this available as an option on the content grid instead?
Ideally there'd just be an actions component you could use to create the exact layout you want. Not sure if we're open to an API to configure the current actions position. What do you think, @danharrin?
You'd need to be able to configure the parent container to align the actions to the bottom, so I don't think thats right
From your comment it's unclear to me what direction we want to take, @danharrin. Care to clarify? 🙂
Personally I can't think of a reason why this PR cannot be merged as-is
Alright, let's reconsider this then.
Going to close this as it has been fixed in v4 and there is a lack of activity here.