react-skylight
react-skylight copied to clipboard
Styles should preferably be controlled with CSS and not JS
By relying on JS to set inline styles, I am now finding it very troublesome to implement mobile friendliness. If the styles were controlled with CSS, I could have easily used media queries.
@ericluwj thanks for your feedback. I'm thinking an elegant way to use a separated CSS file, instead inline JS styles, maybe an option to escape in line JS styles.
👍 would very much like this over having it in the JS and inline. :)
I'd like a way to add an CSS class name to the main dialog element.
:+1: any updates?
@viridia : yes being able to pass class names to the components would help a lot.