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.

Option to turn off inline CSS

See original GitHub issue

Hello. First of all thanks for all your work on this awesome component.

I’m currently working on a project that has a very strict Content Security Policy (has style-src set to 'self'), which totally blocks ngx-ui-switch display as it inserts inline styles.

So, the suggestion is to add an option that allows turning the inline CSS addition off, and let the controls rely on outer CSS-files rules only.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
cmckni3commented, Aug 9, 2018

Wil release this evening

0reactions
cmckni3commented, Aug 9, 2018

Well yeah it shouldn’t be added with CSS. But the structure was going to have to change to support to text.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to disable CSS in Browser for testing purposes
Open Dev Tools (inspect element). · Go to "network" tab. · Select any css file and right-click: "Block request url". · Go to...
Read more >
How to Disable Website CSS Style (Chrome, Firefox, Edge, ...)
Disable Inline CSS : click on Disable Inline Styles to turn off element-based styles. Upon clicking any option, the webpage will update automatically...
Read more >
Disable Post CSS Files- Enable inline CSS - Support - Kriesi.at
Hi,. Can you please help me to disable Post CSS files in order to make css to be inlined in html elements.
Read more >
Option for Layout: "none" to remove inline styles on <body ...
Don't make me fight the framework to control the page by making it easy to turn off inline styles created by the default...
Read more >
How to disable generate-style-inline-css? - GeneratePress
Hello I have one question please help me! I see one style is <style id='generate-style-inline-css'> in <head> how to remove that?
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