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.

CSS not being applied

See original GitHub issue

Hi there, Great job! I am trying out the plugins and followed all the steps but when I try to use mention plugin or linkyfy plugin, I see that neither one of them are actually using the CSS. I guess I am not sure how theimport styles from './styles.css'; actually work. I am under the impression that the plugins we install already come w/ styles and should work out of the box.

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
GrandVizierOlafcommented, Feb 7, 2019

I had the same issue with Webpack 4 and fixed it with this (for inline-toolbar-plugin):

import '!style-loader!css-loader!draft-js-inline-toolbar-plugin/lib/plugin.css';

I did not add anything to my webpack config directly.

0reactions
florianmartenscommented, Jan 15, 2020

Was there any success in solving this issue @tafelito or @arthurkushman? I am struggling with the same and currently looking into rebuilding all the plugins which is quite the heavy task …

I have created a CodingSandbox. Maybe someone who solved this can show in there how to get the styles working:

https://codesandbox.io/s/distracted-gates-w2g7e

I also created a related Issue #1375

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why is my CSS style not being applied? - Stack Overflow
I went to solution explorer (press Ctrl+Alt+L) and searched gt.css (enter your css filename). Right click on your css filename and then on ......
Read more >
How to Troubleshoot CSS Not Working - WPForms
In this tutorial, we'll walk through options to troubleshoot why your CSS is not working and offer possible solutions. Browser Caching.
Read more >
How to fix CSS not linking to your HTML document
How to fix CSS not linking to your HTML document · Make sure that you add the rel attribute to the link tag...
Read more >
Help! My CSS Isn't Working! - meyerweb.com
Help! My CSS Isn't Working! · First, Be Sure You're Right · Too Many Spaces · Too Much HTML · External Problems ·...
Read more >
CSS Style Not Being Applied (Example) | Treehouse Community
Okay so at first glance, I see two possible problems. In your HTML the link for your font has a space in the...
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