mirror of https://github.com/sveltejs/svelte
fix: allow double hyphen css selector names (#15384)
parent
c2ec0d9ac2
commit
3d59e84a65
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
'svelte': patch
|
||||||
|
---
|
||||||
|
|
||||||
|
fix: allow double hyphen css selector names
|
@ -0,0 +1,4 @@
|
|||||||
|
|
||||||
|
.--foo.svelte-xyz {
|
||||||
|
color: red;
|
||||||
|
}
|
@ -0,0 +1,7 @@
|
|||||||
|
<div class="--foo"></div>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
.--foo {
|
||||||
|
color: red;
|
||||||
|
}
|
||||||
|
</style>
|
Loading…
Reference in new issue