Ability to override predefined style object
See original GitHub issueI’d love to be able to override or entirely disable the current style object.
Especially the verticalAlign property is messing up my layout.
I’ve made a local change to fix the issue on my end, but it’s very crude (I am just removing all properties, and setting them through a className instead)
Issue Analytics
- State:
- Created 4 years ago
- Comments:8
Top Results From Across the Web
How to override the CSS properties of a class using another ...
To override the CSS properties of a class using another class, we can use the ! important directive. In CSS, !
Read more >Recompose: Override Styles & Elements Types in React
When we move from CSS to defining styles inside components we lose the ability to override styles with an external style sheet.
Read more >Override element.style using CSS - Stack Overflow
What you should do is edit your code so that you aren't applying a style to the <li> elements in the first place....
Read more >Overriding styles with the sx prop | Primer React
The sx prop allows ad-hoc styling that is still theme-aware. Declare the styles you want to apply in CamelCase object notation, and try...
Read more >How to Override CSS Styles - W3docs
An !Important declaration is a great way to override the styles you want. When an important rule is used on a style declaration,...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Closing the issue as I solved it by just using the Twemoji variant.
The options property is currently not being spread when not using an image based emoji, so it wouldn’t work at the moment.
Feel free to open a PR 👍🏻