From 023a1f222f05abb2ded1e9f8bfc38f89fd3dd4d2 Mon Sep 17 00:00:00 2001 From: Nikhil Mohite Date: Mon, 15 Jun 2020 17:15:15 +0530 Subject: [PATCH] =?UTF-8?q?Remove=C2=A0duplicate=20properties=20in=20CSS?= =?UTF-8?q?=20and=20few=20js=20standard=20fixes=20reported=20by=20SonarQub?= =?UTF-8?q?e.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/pgadmin/dashboard/static/js/dashboard.js | 2 ++ web/pgadmin/misc/file_manager/static/css/file_manager.css | 1 - web/pgadmin/misc/file_manager/static/scss/_file_manager.scss | 2 -- web/pgadmin/misc/static/explain/scss/_explain.scss | 1 - 4 files changed, 2 insertions(+), 4 deletions(-) diff --git a/web/pgadmin/dashboard/static/js/dashboard.js b/web/pgadmin/dashboard/static/js/dashboard.js index 66eeb35be..1bc2863ec 100644 --- a/web/pgadmin/dashboard/static/js/dashboard.js +++ b/web/pgadmin/dashboard/static/js/dashboard.js @@ -508,6 +508,8 @@ define('pgadmin.dashboard', [ for (var time_ind = 0; time_ind < dataset[label_ind]['data'].length; time_ind++) { dataset[label_ind]['data'][time_ind][0] = time_ind; } + + return; }); counter_prev_data = new_data; } diff --git a/web/pgadmin/misc/file_manager/static/css/file_manager.css b/web/pgadmin/misc/file_manager/static/css/file_manager.css index 9bb060c03..68553380d 100644 --- a/web/pgadmin/misc/file_manager/static/css/file_manager.css +++ b/web/pgadmin/misc/file_manager/static/css/file_manager.css @@ -85,7 +85,6 @@ div.clip { .file_listing #contents.list td:first-child { display: table-cell; - padding-left: 0; width: 100%; padding-left: 12px; background-repeat: no-repeat; diff --git a/web/pgadmin/misc/file_manager/static/scss/_file_manager.scss b/web/pgadmin/misc/file_manager/static/scss/_file_manager.scss index 24bd6c5f1..faa08b9b4 100644 --- a/web/pgadmin/misc/file_manager/static/scss/_file_manager.scss +++ b/web/pgadmin/misc/file_manager/static/scss/_file_manager.scss @@ -190,7 +190,6 @@ } .upload_file .file_upload_main { - position: relative; height: 127px;; width: 120px; display: inline-block; @@ -201,7 +200,6 @@ -webkit-border-radius: 5px; -moz-border-radius: 5px; background: $color-bg; - margin: 2px; opacity: 1; } diff --git a/web/pgadmin/misc/static/explain/scss/_explain.scss b/web/pgadmin/misc/static/explain/scss/_explain.scss index 35cee5480..defcae984 100644 --- a/web/pgadmin/misc/static/explain/scss/_explain.scss +++ b/web/pgadmin/misc/static/explain/scss/_explain.scss @@ -98,7 +98,6 @@ div.tab-pane[data-explain-tabpanel=table] { white-space: pre-wrap; word-wrap: break-word; white-space: -webkit-pre-wrap; - word-break: break-all; white-space: normal; } &.pg-ex-highlighter {