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

CoreAdminUI wraps everything in a <div> #9680

Closed
MurkyMeow opened this issue Feb 25, 2024 · 2 comments
Closed

CoreAdminUI wraps everything in a <div> #9680

MurkyMeow opened this issue Feb 25, 2024 · 2 comments
Labels

Comments

@MurkyMeow
Copy link

When using <CoreAdminUI/> everything gets wrapped in a <div> that can't be given any attributes or styles to:

and in my case that makes it difficult to implement scroll via overflow: auto inside a form because every parent has to be given a height: 100% style

It would be great to remove that <div> altogether or make it possible to pass a className to it

@adguernier
Copy link
Contributor

Thanks for this reports.

Indeed this div is useless.

However some people could have styled his element in another way. We will therefore not fix this problem until the next major release to avoid breaking changes.

Feel free to open a PR targeting the next branch if you want to contribute 👍

@fzaninotto
Copy link
Member

It is already fixed in next - there is no such div.

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

No branches or pull requests

3 participants