-
Notifications
You must be signed in to change notification settings - Fork 4
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
Custom styling #18
Comments
You could and should be able to add a classname and overwrite it's styling. |
So I've added
However, adding any styles, within this class do not get reflected in the div that's displaying the icon. In order for it to get picked up, one needs to include ::ng-deep in the styling so it also trickle down to the components that are children to the current component in the component tree. So my style is:
Going back on the gradient, as I said above, if not set to something it doesn't pick up the custom className. But when it's set to anything (even '') it causes a border to be shown, not entirely sure why. See attached screenshot, matching the below setup:
More to add on the gradient, console shows: |
Hi,
I'm trying to style the flag in a circle, with custom border and drop shadow color etc. but I'm not a CSS expert and seems like trying to override .flag style doesn't achieve what I want.
Is there a way I can override the styles using the component?
The text was updated successfully, but these errors were encountered: