Open Ocean15 opened 4 months ago
Solution:
Apply the following changes to resolve the warnings in the dialog, carousel, treetable, and any other components where the warning appears.
Before:
.p-dialog-header-icon {
@include action-icon();
margin-right: $inlineSpacing;
&:last-child {
margin-right: 0;
}
}
After:
.p-dialog-header-icon {
@include action-icon();
& {
margin-right: $inlineSpacing;
}
&:last-child {
margin-right: 0;
}
}
This change should be applied to the dialog component in the file public/assets/theme-base/components/overlay/_dialog.scss
. Additionally, apply this solution to the carousel, treetable, and any other components where you encounter similar warnings.
@HarshThink please submit a PR!
Hello there!
I get several deprecation warnings from sass with your theme-base:
I also get a lot of "Unexpected duplicate selector" warnings from my sonarqube because of the theme-base. I can ignore the folder from being scanned but there are some very strange code fragments in your library you should check. For example: /theme-base/components/input/_checkbox.scss line 40-60 and 62-82 contain the exact same code.
Greetings Ocean