Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[@mantine/core] List: Remove extra span tag (#2146)
By Removing the span we can now pass a div or any other JSX Element which can take the full width of the container the list is in. Eg. I can put Text on the left side and have a button floated / flexed to the right side.
- Loading branch information
2e0426b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here, this is the problem. Since this change is made, now each time I use a list, it overfills. For example from Mantine UI itself:
A workaround over this is just to re-add the tags in the list item.