mirror of https://github.com/sveltejs/svelte
[fix] improper :global() style encapsulation (#6560)
parent
ab825ed2eb
commit
b23d267f1f
@ -0,0 +1,3 @@
|
||||
export default {
|
||||
warnings: []
|
||||
};
|
@ -0,0 +1 @@
|
||||
div>div.svelte-xyz{color:red}
|
@ -0,0 +1,9 @@
|
||||
<style>
|
||||
:global(div) > div {
|
||||
color: red;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div>
|
||||
<div />
|
||||
</div>
|
Loading…
Reference in new issue