[Example]: Wrapper for the Dialog content component #2037
wanted80
started this conversation in
Example Request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Hello,
I'm trying to add a wrapper for the content component inside a Dialog because i want to use a different method to center it avoiding to use the translate css (bugged with Chrome if you don't know the height) and i want to use flex css.
I found a tricky solution but idk if there are a better way to achieve it.
I added a link to a gist to an example of my component.
Any suggestion would be appreciated, thanks. 😄
Example
https://gist.github.com/wanted80/bee14a16a325fea831c1d3b4ed9b99ee
Beta Was this translation helpful? Give feedback.
All reactions