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.

apply classes instead of inline styles

See original GitHub issue

This is an improvement idea. The dropTargetStyle is nice, but it may be more flexible to give the possibility to apply a custom class to the drop targets instead of inline styles.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:11 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
isaacHagoelcommented, Jan 13, 2021

this feature is available in version 0.8.1 and onwards. thanks everyone for the inputs

2reactions
spookycommented, Jul 4, 2020

styling would be in css instead where you have selector specificity, whereas currently, with inline styling, there’s little room to override.

Read more comments on GitHub >

github_iconTop Results From Across the Web

What's the difference between inline styles vs classes?
If inline styles are programmatically applied. For example, showing and hiding elements with JavaScript, or applying content specific styles ...
Read more >
Inline Styles as Classes (lol) - CSS-Tricks
If you're abhorred by using inline styles, just move that style to the class attribute! And then make sure you have CSS in...
Read more >
When should I use a CSS class over inline styling?
This works, but are there general rules or guidelines to follow to determine if I should use inline styles or styling via stylesheets...
Read more >
No, Utility Classes Aren't the Same As Inline Styles | frontstuff
Inline styles only apply to the elements they're declared on. Perhaps the biggest limitation with inline styles is that they can only affect ......
Read more >
Inline CSS Guide - How to use Inline Styles | Simplilearn
Inline CSS is the technique to define the single element with the insert style sheets in an HTML document. We can add CSS...
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