We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
HI Team,
Below is my scss file
.mat { @import "ej2-base/styles/material.scss"; @import "ej2-buttons/styles/material.scss"; @import "ej2-popups/styles/material.scss"; @import "ej2-splitbuttons/styles/material.scss"; } .boot{ @import "ej2-base/styles/bootstrap.scss"; @import "ej2-buttons/styles/bootstrap.scss"; @import "ej2-popups/styles/bootstrap.scss"; @import "ej2-splitbuttons/styles/bootstrap.scss"; }
In here, i want to load material theme while changing class to the body.But styles not get added
Here i have attched my sample scsssIssue.zip
Download above sample
GIve npm i command then ng serve
npm i
ng serve
you will see button in browser
Then click click me button - style wont get added'
click me
if you chage scss like below
@import "ej2-base/styles/material.scss"; @import "ej2-buttons/styles/material.scss"; @import "ej2-popups/styles/material.scss"; @import "ej2-splitbuttons/styles/material.scss";
Style getting added properly
The text was updated successfully, but these errors were encountered:
The Sass itself is correct. I believe this behavior is due to Angular's component style scoping.
Sorry, something went wrong.
No branches or pull requests
HI Team,
Below is my scss file
In here, i want to load material theme while changing class to the body.But styles not get added
Here i have attched my sample
scsssIssue.zip
Repo steps
Download above sample
GIve
npm i
command thenng serve
you will see button in browser
Then click
click me
button - style wont get added'if you chage scss like below
Style getting added properly
The text was updated successfully, but these errors were encountered: