Skip to content
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

Not able to Override scss using :host ::ng-deep #429

Open
sureshrucko opened this issue Apr 23, 2024 · 1 comment
Open

Not able to Override scss using :host ::ng-deep #429

sureshrucko opened this issue Apr 23, 2024 · 1 comment

Comments

@sureshrucko
Copy link

Angular version: 16.2.12

ng-multiselect-dropdown version: 1.0.0

Description of issue: Recently i updated my angular application to "16.2.12" after that i also update my "ng-multiselect-dropdown" i.e. 1.0.0. After upgradation css are breaking in my application where i am used ":host ::ng-deep" to customize ng-multiselect-dropdown css.

Expected result: Override custom css

Actual result: dafault css showing

Demo: (https://stackblitz.com/edit/angular-ivy-ghcw8b?file=src%2Fapp%2Fuser%2Fprofile%2Fprofile.component.ts,src%2Fapp%2Fuser%2Fprofile%2Fprofile.component.scss,package.json,src%2Fapp%2Fuser%2Fprofile%2Fprofile.component.html)

Screenshot from 2024-04-23 13-02-54

As you can see in image selected-item background should be yellow but it's showing default colour.

@sureshrucko sureshrucko changed the title Not able customise scss Not able to Override scss using :host ::ng-deep Apr 23, 2024
@Rhythm-chicmicstudios
Copy link

have you tried giving '!important' at the end?

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