Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[@mantine/core] ListItem: Span limits the full width capability #2146

Merged
merged 1 commit into from Sep 19, 2022

Conversation

glomyst
Copy link
Contributor

@glomyst glomyst commented Aug 17, 2022

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.

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.
@glomyst glomyst changed the title Span limits the full width capability [@mantine/core] ListItemSpan: limits the full width capability Aug 17, 2022
@glomyst glomyst changed the title [@mantine/core] ListItemSpan: limits the full width capability [@mantine/core] ListItem: Span limits the full width capability Aug 17, 2022
@rtivital
Copy link
Member

Have you checked if that works correctly in Firefox?

@rtivital rtivital changed the base branch from master to dev September 19, 2022 08:04
@rtivital rtivital merged commit 2e0426b into mantinedev:dev Sep 19, 2022
@rtivital
Copy link
Member

Thanks!

@Manas-Nagelia
Copy link
Contributor

This actually did more harm than good. If you see this image below, it overflows the List.Item tag. I worked around this by adding tags inside the List.Item tag.
Screenshot 2022-11-01 at 7 58 35 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants