From 1f43b05c2aea72e15bd77cf87ee20fd22a426493 Mon Sep 17 00:00:00 2001 From: Akshay Joshi Date: Wed, 13 Feb 2019 14:55:52 +0530 Subject: [PATCH] Fix alignment of checkbox to drop multiple schedules of pgAgent job. Fixes #3946 --- docs/en_US/release_notes_4_3.rst | 1 + web/pgadmin/browser/static/js/collection.js | 2 +- web/pgadmin/static/scss/_pgadmin.style.scss | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/en_US/release_notes_4_3.rst b/docs/en_US/release_notes_4_3.rst index 058ca053d..62b9d722e 100644 --- a/docs/en_US/release_notes_4_3.rst +++ b/docs/en_US/release_notes_4_3.rst @@ -18,6 +18,7 @@ Bug fixes | `Bug #3873 `_ - Fix context sub-menu alignment on Safari. | `Bug #3906 `_ - Fix alignment of Close and Maximize button of Grant Wizard. | `Bug #3942 `_ - Close connections gracefully when the user logs out of pgAdmin. +| `Bug #3946 `_ - Fix alignment of checkbox to drop multiple schedules of pgAgent job. | `Bug #3963 `_ - Fix alignment of import/export toggle switch. | `Bug #3974 `_ - Fix alignment of Connection type toggle switch of pgagent. | `Bug #3981 `_ - Fix the query to set bytea_output so that read-only standbys don't consider it a write query. diff --git a/web/pgadmin/browser/static/js/collection.js b/web/pgadmin/browser/static/js/collection.js index 6722b7c5a..ec6e8a5df 100644 --- a/web/pgadmin/browser/static/js/collection.js +++ b/web/pgadmin/browser/static/js/collection.js @@ -151,7 +151,7 @@ define([ $el.toggleClass('renderable', renderable); }); - if (Backgrid.callByNeed(column.renderable(), column, model)) $el.addClass('renderable'); + if (Backgrid.callByNeed(column.renderable(), column, model)) $el.addClass('renderable width_percent_3'); this.listenTo(model, 'backgrid:select', this.toggleCheckbox); }, diff --git a/web/pgadmin/static/scss/_pgadmin.style.scss b/web/pgadmin/static/scss/_pgadmin.style.scss index b4ae917f6..2ff6ffce1 100644 --- a/web/pgadmin/static/scss/_pgadmin.style.scss +++ b/web/pgadmin/static/scss/_pgadmin.style.scss @@ -589,6 +589,7 @@ fieldset.inline-fieldset > div { margin-right: 9px; } +.width_percent_3 { width: 3%; } .width_percent_5 { width: 5%; } .width_percent_10 { width: 10%; } .width_percent_15 { width: 15%; }