Fixed following SonarQube issues:

1) TypeError can be thrown as <variable_name> might be null or undefined here.
2) Unexpected duplicate "white-space".
3) Unexpected missing generic font family.
4) Unexpected shorthand "padding" after "padding-left".
This commit is contained in:
Akshay Joshi
2020-06-24 15:57:01 +05:30
parent cdf1c7a2a6
commit 15c621b1d8
8 changed files with 36 additions and 56 deletions

View File

@@ -1,17 +1,4 @@
.icon-schema-diff:before {
/*
display: inline-block;
align-content: center;
vertical-align: middle;
height: 18px;
width: 18px;
background-size: 20px !important;
background-repeat: no-repeat;
background-position-x: center;
background-position-y: center;
background-image: url('../img/compare.svg') !important;
*/
font-icon: url('../img/compare.svg');
font-size: 1.3em !important;
}
@@ -115,20 +102,6 @@
width: 20px;
}
.slick-group-toggle.collapsed::before {
font-family: "FontAwesome";
content: "\f054";
font-size: 0.6rem;
border: none;
}
.slick-group-toggle.expanded::before {
font-family: "FontAwesome";
content: "\f078";
font-size: 0.6rem;
margin-left: 0rem;
}
.slick-group-toggle {
margin-right: 0px !important;
height: 11px !important;
@@ -141,13 +114,6 @@
width: 0.7rem;
}
#schema-diff-ddl-comp .badge .caret::before {
font-family: "FontAwesome";
content: "\f078";
font-size: 0.7rem;
margin-left: 0rem;
}
#schema-diff-ddl-comp .badge {
font-size: inherit;
padding: 7px;

View File

@@ -96,3 +96,24 @@
vertical-align: middle;
display: inline-block;
}
.slick-group-toggle.collapsed::before {
font-family: $font-family-icon;
content: "\f054";
font-size: 0.6rem;
border: none;
}
.slick-group-toggle.expanded::before {
font-family: $font-family-icon;
content: "\f078";
font-size: 0.6rem;
margin-left: 0rem;
}
#schema-diff-ddl-comp .badge .caret::before {
font-family: $font-family-icon;
content: "\f078";
font-size: 0.7rem;
margin-left: 0rem;
}