question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Ability to override predefined style object

See original GitHub issue

I’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:closed
  • Created 4 years ago
  • Comments:8

github_iconTop GitHub Comments

1reaction
Multiplycommented, Feb 12, 2020

Closing the issue as I solved it by just using the Twemoji variant.

0reactions
enzofereycommented, Jan 31, 2020

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 👍🏻

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found