-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Make css top and left #242
Comments
I don't like how the plugin does this, in many of my use cases I need to set my own top and left but the opinionated inline styles override everything. |
position the child elements of the layers instead |
For reference, you need to wrap your layer in a positionable element like this :
Then use |
I can confirm, this works like a charm. |
You simply can use "!important" for your top and left values. Then it will deactivate values from the lib.
|
Inline styles are a major pain in the butt. Call me a purist, but I feel bad every time I have to override a style with !important. I ultimately forked the library and removed the javascript which set the inline styles. It would be great to at least have an option to disable inline styles. |
Hello, I would like to know how to set the css of the elements in the scene, because the plugin overlaps the top and the left in the css ...
The text was updated successfully, but these errors were encountered: