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] List elements don't have the correct width. #5902

Closed
1 of 2 tasks
gl3nn opened this issue Mar 11, 2024 · 2 comments
Closed
1 of 2 tasks

[@mantine/core] List elements don't have the correct width. #5902

gl3nn opened this issue Mar 11, 2024 · 2 comments
Labels
Duplicate A duplicate of other issue

Comments

@gl3nn
Copy link
Contributor

gl3nn commented Mar 11, 2024

Dependencies check up

  • I have verified that I use latest version of all @mantine/* packages

What version of @mantine/* packages do you have in package.json?

7.6.1

What package has an issue?

@mantine/core

What framework do you use?

create-react-app (CRA)

In which browsers you can reproduce the issue?

All

Describe the bug

Screenshot 2024-03-11 at 15 09 17

The width of the list elements is too wide. It seems to not wrap when it should which has most likely to do something with the marker in front.

If possible, include a link to a codesandbox with a minimal reproduction

No response

Possible fix

I think the CSS needs to be adjusted.

Self-service

  • I would be willing to implement a fix for this issue
@gl3nn
Copy link
Contributor Author

gl3nn commented Mar 11, 2024

I solved this for myself by overwriting the styling with:

  list-style-position: outside;
  margin-left: 1.5rem;

@rtivital
Copy link
Member

It was discussed previously in #2778
This behavior is not planned to be changed.

@rtivital rtivital closed this as not planned Won't fix, can't repro, duplicate, stale Mar 11, 2024
@rtivital rtivital added the Duplicate A duplicate of other issue label Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Duplicate A duplicate of other issue
Projects
None yet
Development

No branches or pull requests

2 participants