From 8ce7ccb031674d9bcdc8285d4ed3ccbe690eeceb Mon Sep 17 00:00:00 2001 From: Akshay Joshi Date: Tue, 5 Apr 2022 14:26:40 +0530 Subject: [PATCH] Fixed some issues related to z-index and color. --- web/pgadmin/dashboard/static/js/WelcomeDashboard.jsx | 2 +- web/pgadmin/misc/file_manager/static/js/select_dialogue.js | 2 +- web/pgadmin/static/scss/_alertify.overrides.scss | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/web/pgadmin/dashboard/static/js/WelcomeDashboard.jsx b/web/pgadmin/dashboard/static/js/WelcomeDashboard.jsx index 8a75a63f4..653754055 100644 --- a/web/pgadmin/dashboard/static/js/WelcomeDashboard.jsx +++ b/web/pgadmin/dashboard/static/js/WelcomeDashboard.jsx @@ -72,7 +72,7 @@ const useStyles = makeStyles((theme) => ({ cursor: 'pointer' }, link: { - color: theme.otherVars.stepFg + '!important', + color: theme.palette.text.primary + '!important', }, cardColumn: { flex: '0 0 100%', diff --git a/web/pgadmin/misc/file_manager/static/js/select_dialogue.js b/web/pgadmin/misc/file_manager/static/js/select_dialogue.js index 678148a03..74903e1cd 100644 --- a/web/pgadmin/misc/file_manager/static/js/select_dialogue.js +++ b/web/pgadmin/misc/file_manager/static/js/select_dialogue.js @@ -60,7 +60,7 @@ module.exports = Alertify.dialog('fileSelectionDlg', function() { // Add our class to alertify $(this.elements.body.childNodes[0]).addClass('alertify_tools_dialog_properties'); - + $(this.elements.root).css('z-index', 3002); $.get(url_for('file_manager.index'), function(data) { content.append(data); }); diff --git a/web/pgadmin/static/scss/_alertify.overrides.scss b/web/pgadmin/static/scss/_alertify.overrides.scss index 77c66d6c7..0ef0371a4 100644 --- a/web/pgadmin/static/scss/_alertify.overrides.scss +++ b/web/pgadmin/static/scss/_alertify.overrides.scss @@ -1,6 +1,5 @@ /* Overrides alertify js headers */ .alertify { - z-index: 3002; position: fixed; .ajs-header {