-
Notifications
You must be signed in to change notification settings - Fork 30
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
Overriding styles of the window #43
Comments
What exactly have you tried? A code example of what you tried would be really helpful, otherwise it's hard to figure out what went wrong. |
Not really sure, but I replaced |
Mhhh it should have worked either way. If you have an example with the Sevlte repl that'd be helpful (simply clone the demo from https://svelte.dev/repl/033e824fad0a4e34907666e7196caec4) |
Just tested the following: <Modal show={$modal} styleWindow={{ width: '10rem' }}>
<Content />
</Modal> And it works as expected. Feel free to test yourself with https://svelte.dev/repl/033e824fad0a4e34907666e7196caec4 |
Good evening,
When attempting to use
svelte-simple-modal
with my project, I tired to use thestyleWindow
option to specify a width for the modal. Unfortunately it appears that styles instyleWindow
which overwrite the default styling are not applied. Perhaps this is my ignorance on how to properly use the library.Thanks in advance,
Drew.
The text was updated successfully, but these errors were encountered: