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.

Hello!

The css causes general conflicts if we add the easyFormGenerator inside another app, because it overrides general html elements and bootstrap classes.

Can you add a class like easyFormGenerator and add all CSS sentences inside it, in order to avoid general conflicts? like:

.easyFormGenerator .container {
    padding-left: 0;
    padding-right: 0;
}

And if you need some css for the demo page, you can put them inside the same html only for the demo.

I have solved this avoiding adding the css file, but now in the v2.0.0 the css is automatically added as a <style>, for the moment it would be great if you add a config to off this, like:

easyFormSteWayConfigProvider.addCSS(false);

Thanks!

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
MacKentochcommented, Jan 8, 2017

v2.1.0 is now released on npm (js and css are now splitted)

0reactions
damsoriancommented, Jan 9, 2017

thanks @MacKentoch

Read more comments on GitHub >

github_iconTop Results From Across the Web

CSS Conflict Resolution Rules Explained
When there are two different declarations for the same element but they focus on different attributes, the styles simply merge, and the element ......
Read more >
The Role of CSS Cascade in Navigating Conflicting ...
The CSS Cascade is a way for browsers to resolve conflicting CSS declarations. By specifying CSS rules, you specify where the CSS style...
Read more >
CSS Conflicts
CSS stands for Cascading Style Sheets. The cascade is the algorithm used to determine how a given element should look. Each element can...
Read more >
Conflicting Styles in CSS with Examples
Conflicting CSS Styles: CSS stands for cascading style sheets and cascading simply means multiple styles can be applied or multiple rules can be...
Read more >
Systematically resolve conflicting styles in css
1) Decide which style sheet is the most important and put it second. OR · 2) Re-write your styles to avoid the mess....
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