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

[DataList] Issue - does not respect width of parent container #505

Open
heavygweit opened this issue May 21, 2024 · 1 comment
Open

[DataList] Issue - does not respect width of parent container #505

heavygweit opened this issue May 21, 2024 · 1 comment
Labels
documentation Improvements or additions to documentation request New feature or request

Comments

@heavygweit
Copy link

The DataList component doesn't respect the maximum width of its parent container. There is no way to restrict the width of the child elements without fixing a value to them, so it isn't fully responsive. It behaves like the size property has some sort of minimum width attached to it.

@vladmoroz
Copy link
Contributor

What does your UI look like?

There is a min-width: 120px on DataList.Label which we should probably document or revisit if that’s too aggressive. It can be overridden though:

<DataList.Label minWidth="80px">

@vladmoroz vladmoroz added documentation Improvements or additions to documentation request New feature or request labels May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants