Nested SCSS elements are unstyled
See original GitHub issueUsing vetur 0.3.1
Nesting works on everything but a few elements. div
is expected to be pink - like it’s parent, but is displayed with no styling.
Issue Analytics
- State:
- Created 7 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
Nesting in Sass
The Sass makes it appear as though you just styled a simple link, but once the Sass is compiled you end up with...
Read more >Two Issues Styling the Details Element and How to Solve Them
Nesting a block-level element (e.g. a heading) inside a <summary> element pushes that content down below the arrow marker, rather than keeping ...
Read more >CSS · Bootstrap
Global CSS settings, fundamental HTML elements styled and enhanced with extensible classes, and an advanced grid system. Overview. Get the lowdown on the...
Read more >Nested SCSS and targeting the parent - Stack Overflow
Basically I'm using an icon font and I want the icons (added using the :before element) to appear lighter than the text it's...
Read more >Styles - Lit.dev
For tree-based or per-instance style customization, use CSS custom properties to allow elements to be themed. To prevent Lit components from evaluating ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@octref Vetur’s super useful! Pushed a couple of my teammates away from WebStorm because of the quality of this plugin.
I’ve been using vetur with single quotes for a few months now using a different grammar mod.
Basically instead of:
lang=["'](jade|pug)(?:\?[^"]*)?["'])
I do:lang=("(jade|pug)(?:\?[^"]*)?"))|('(jade|pug)(?:\?[^']*)?'))
This prevents "jade’ from being valid. (Also, the current code is missing a single quote in the negated character class.)
Would you take a quick PR? Which implementation do you prefer?
Couldn’t believe the original grammar didn’t cover single quote for lang attribute…
<style lang='scss'>
literally wouldn’t work.Just published 0.3.2. Can you try upgrading?