Remove duplicate properties in CSS and few js standard fixes reported by SonarQube.

This commit is contained in:
Nikhil Mohite 2020-06-15 17:15:15 +05:30 committed by Akshay Joshi
parent a21e6448ce
commit 023a1f222f
4 changed files with 2 additions and 4 deletions

View File

@ -508,6 +508,8 @@ define('pgadmin.dashboard', [
for (var time_ind = 0; time_ind < dataset[label_ind]['data'].length; time_ind++) { for (var time_ind = 0; time_ind < dataset[label_ind]['data'].length; time_ind++) {
dataset[label_ind]['data'][time_ind][0] = time_ind; dataset[label_ind]['data'][time_ind][0] = time_ind;
} }
return;
}); });
counter_prev_data = new_data; counter_prev_data = new_data;
} }

View File

@ -85,7 +85,6 @@ div.clip {
.file_listing #contents.list td:first-child { .file_listing #contents.list td:first-child {
display: table-cell; display: table-cell;
padding-left: 0;
width: 100%; width: 100%;
padding-left: 12px; padding-left: 12px;
background-repeat: no-repeat; background-repeat: no-repeat;

View File

@ -190,7 +190,6 @@
} }
.upload_file .file_upload_main { .upload_file .file_upload_main {
position: relative;
height: 127px;; height: 127px;;
width: 120px; width: 120px;
display: inline-block; display: inline-block;
@ -201,7 +200,6 @@
-webkit-border-radius: 5px; -webkit-border-radius: 5px;
-moz-border-radius: 5px; -moz-border-radius: 5px;
background: $color-bg; background: $color-bg;
margin: 2px;
opacity: 1; opacity: 1;
} }

View File

@ -98,7 +98,6 @@ div.tab-pane[data-explain-tabpanel=table] {
white-space: pre-wrap; white-space: pre-wrap;
word-wrap: break-word; word-wrap: break-word;
white-space: -webkit-pre-wrap; white-space: -webkit-pre-wrap;
word-break: break-all;
white-space: normal; white-space: normal;
} }
&.pg-ex-highlighter { &.pg-ex-highlighter {