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

Optionally pass style to useDialogs #3

Closed
xXBJXx opened this issue Oct 19, 2021 · 3 comments · Fixed by #4
Closed

Optionally pass style to useDialogs #3

xXBJXx opened this issue Oct 19, 2021 · 3 comments · Fixed by #4

Comments

@xXBJXx
Copy link
Contributor

xXBJXx commented Oct 19, 2021

Would it be possible to add an option to the useDialogs hook to optionally pass css to customize the dialog a little bit e.g. size, position etc.?

@AlCalzone
Copy link
Owner

Can you test out the linked PR and see if that works for you?

@xXBJXx
Copy link
Contributor Author

xXBJXx commented Oct 21, 2021

I tried it and it seems it has no effect on me no matter what CSS I put in.

grafik

no new CSS class is created for it.

grafik

@xXBJXx
Copy link
Contributor Author

xXBJXx commented Oct 21, 2021

Command back, everything works fine. Found the error, you should not rely too much on the auto import function the function was not imported correctly
grafik

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 a pull request may close this issue.

2 participants