Skip to content

item-class wrap-class not applied when using Scoped Style #19

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
m4m205 opened this issue Jul 28, 2023 · 2 comments
Open

item-class wrap-class not applied when using Scoped Style #19

m4m205 opened this issue Jul 28, 2023 · 2 comments

Comments

@m4m205
Copy link

m4m205 commented Jul 28, 2023

Hello mfuu

it looks like

please check https://codesandbox.io/s/gracious-mirzakhani-69wgsy?file=/src/components/HelloWorld.vue codesandbox

the classes 'red-background' and 'hover-background' not applied!

did I do some syntax error?

@m4m205 m4m205 changed the title item-class wrap-class not applied item-class wrap-class not applied when using Scoped Style Jul 28, 2023
@mfuu
Copy link
Owner

mfuu commented Jul 31, 2023

The style should be like this:

.a >>> .b { ... }

or in scss

.a {
  /deep/ .b {
    
  }
}

@m4m205
Copy link
Author

m4m205 commented Jul 31, 2023

oh, thank you again :-)
that is working now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants