-
Notifications
You must be signed in to change notification settings - Fork 269
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
[ADF-5575] Should use declaration-no-important rule in the stylelint-… #9302
[ADF-5575] Should use declaration-no-important rule in the stylelint-… #9302
Conversation
92c6566
to
802d54a
Compare
lib/core/src/lib/layout/components/sidenav-layout/sidenav-layout.component.scss
Show resolved
Hide resolved
802d54a
to
398d60f
Compare
lib/content-services/src/lib/version-manager/version-upload.component.scss
Outdated
Show resolved
Hide resolved
lib/core/src/lib/layout/components/layout-container/layout-container.component.scss
Outdated
Show resolved
Hide resolved
lib/process-services-cloud/src/lib/group/components/group-cloud.component.scss
Outdated
Show resolved
Hide resolved
lib/process-services-cloud/src/lib/people/components/people-cloud.component.scss
Outdated
Show resolved
Hide resolved
lib/process-services/src/lib/process-list/components/start-process.component.scss
Outdated
Show resolved
Hide resolved
@jacekpluta please fix sonarcloud problems: |
398d60f
to
9b429a5
Compare
@jacekpluta please correct PR title - there is incorrect jira number: |
9b429a5
to
690656f
Compare
lib/process-services/src/lib/attachment/process-attachment-list.component.scss
Show resolved
Hide resolved
lib/process-services/src/lib/task-list/components/start-task.component.scss
Show resolved
Hide resolved
c06b09f
to
6ce9bcd
Compare
lib/core/src/lib/comments/comment-list/comment-list.component.scss
Outdated
Show resolved
Hide resolved
3176906
to
8399f25
Compare
@@ -1,20 +1,20 @@ | |||
.adf-filter { | |||
&-button { | |||
margin-left: -7px !important; | |||
&-button#{&}-button { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this notation here makes no sense https://sass-lang.com/playground/#eJwzNNRLTEnTTcvMKUktUqjmUgACNd2k0pKS/DzlarVaKBMqAwK5iUXpmXm6OalpJVYKuuYFFdZgqVquWgBnQxX3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've removed all of the classes duplication like '&-button#{&}-button' and '.adf-datatable-header.adf-datatable-header'. I've replacted them with :has, :is or increased nesting.
the style classname duplication looks like even worse hack than !important |
lib/core/src/lib/comments/comment-list/comment-list.component.scss
Outdated
Show resolved
Hide resolved
eb9142b
to
916a6eb
Compare
1a6fa9c
to
5ef3875
Compare
44bb270
to
9fd71f5
Compare
…config.json file to avoid use of !important in ADF
9fd71f5
to
75acf55
Compare
…ant-rule-in-the-stylelint-config
Quality Gate passedIssues Measures |
…config.json file to avoid use of !important in ADF (#9302)
…config.json file to avoid use of !imporatnt in ADF
Please check if the PR fulfills these requirements
What kind of change does this PR introduce? (check one with "x")
What is the current behaviour? (You can also link to an open issue here)
!imporant properies have been removed.
Each of the components was checked in case of any issues and either !Important was unnecessary or specificity had to be increased.
What is the new behaviour?
Behaviour shouldn't change.
Does this PR introduce a breaking change? (check one with "x")
If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
Other information: