[ACS-5575] Should use declaration-no-important rule in the stylelint-config.json file to avoid use of !important in ADF (#9302)

This commit is contained in:
jacekpluta
2024-03-11 15:33:09 +01:00
committed by GitHub
parent 6bc532abf2
commit e9dc55bca2
80 changed files with 533 additions and 565 deletions
@@ -1,16 +1,16 @@
adf-version-manager {
.adf-version-list .adf-version-list-item {
height: auto !important;
width: 100% !important;
padding: 16px 0 !important;
.adf-version-list .adf-version-list-item:has(.adf-version-list-item-line) {
height: auto;
width: 100%;
padding: 16px 0;
}
}
.adf-version-list-item-comment.adf-version-list-item-line {
height: 100%;
word-break: break-all;
white-space: unset !important;
overflow: unset !important;
white-space: unset;
overflow: unset;
}
.adf-button.adf-upload-new-version {
@@ -21,17 +21,22 @@ adf-version-manager {
position: relative;
}
.adf-new-version-uploader-container {
padding: 16px 0;
width: 100%;
height: 0;
float: left !important;
position: relative;
}
.adf-new-version-container {
height: inherit;
overflow: hidden;
.adf-new-version-uploader-container {
padding: 16px 0;
width: 100%;
height: 0;
float: left;
position: relative;
}
.adf-version-list.adf-version-list-element {
width: 100%;
float: left;
}
}
.adf-version-list-table {
@@ -41,8 +46,3 @@ adf-version-manager {
.adf-version-upload-table {
width: 100%;
}
.adf-version-list {
width: 100% !important;
float: left !important;
}
@@ -17,8 +17,8 @@
.adf-new-version-max-width {
width: 100%;
float: right;
}
.adf-new-version-text-area {
resize: none !important;
.adf-new-version-text-area {
resize: none;
}
}