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

@@ -12,7 +12,7 @@
}
.control-label::before {
font: normal normal normal 16px/1 FontAwesome;
font: normal normal normal 16px/1 $font-family-icon;
content: "\f071";
text-decoration: inherit;
position: absolute;

View File

@@ -288,10 +288,10 @@ td.switch-cell > div.toggle {
.navbar-brand {
margin-right: 0rem;
padding: 0rem;
padding-left: 0.5rem !important;
padding-right: 1rem !important;
height: $navbar-height;
padding: 0rem;
display: flex;
align-items: center !important;
font-weight: bold;

View File

@@ -285,9 +285,9 @@
/* Message panel shown on browser tabs */
.pg-panel-message {
margin-top: 25px !important;
width: 80%;
margin: 0 auto;
margin-top: 25px !important;
position: relative;
text-align: center;
@@ -586,7 +586,7 @@ fieldset.inline-fieldset > div {
}
.icon-fa::before {
font: normal normal normal 14px/1 FontAwesome;
font: normal normal normal 14px/1 $font-family-icon;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
@@ -700,7 +700,6 @@ div.rolmembership {
.inline-tab-panel > ul.tab-content {
padding-left: 5px; padding-right: 5px; border-color: $color-gray-lighter;
border-bottom-left-radius: 10px; border-bottom-right-radius: 10px;
border-width: 0px 1px 1px 1px; border-bottom-right-radius: 5px;
border-bottom-left-radius: 5px; border-style: solid solid;
}