From d6bc3ccc8ba72bc7a1d1d420ddeda76d66d90a83 Mon Sep 17 00:00:00 2001 From: Aditya Toshniwal Date: Tue, 7 Apr 2020 11:51:19 +0530 Subject: [PATCH] =?UTF-8?q?Fixed=20cursor=C2=A0disappeared=C2=A0issue=20in?= =?UTF-8?q?=20the=20query=20editor=20for=20some=20of=20the=20characters=20?= =?UTF-8?q?when=20zoomed=20out.=20Fixes=20#3988?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/en_US/release_notes_4_21.rst | 1 + web/pgadmin/static/scss/_codemirror.overrides.scss | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/en_US/release_notes_4_21.rst b/docs/en_US/release_notes_4_21.rst index c473f1873..f90a8560a 100644 --- a/docs/en_US/release_notes_4_21.rst +++ b/docs/en_US/release_notes_4_21.rst @@ -23,6 +23,7 @@ Bug fixes ********* | `Issue #3645 `_ - Ensure that the start and end date should be deleted when clear the selection for pgAgent Job. +| `Issue #3988 `_ - Fixed cursor disappeared issue in the query editor for some of the characters when zoomed out. | `Issue #4512 `_ - Fixed calendar opening issue on the exception tab inside the schedules tab of pgAgent. | `Issue #5180 `_ - Fixed an issue where the autovacuum_enabled parameter is added automatically in the RE-SQL when the table has been created using the WITH clause. | `Issue #5268 `_ - Fixed generated SQL when any token in FTS Configuration or any option in FTS Dictionary is changed. diff --git a/web/pgadmin/static/scss/_codemirror.overrides.scss b/web/pgadmin/static/scss/_codemirror.overrides.scss index ed2541a7c..24528d166 100644 --- a/web/pgadmin/static/scss/_codemirror.overrides.scss +++ b/web/pgadmin/static/scss/_codemirror.overrides.scss @@ -63,8 +63,10 @@ & .cm-hr {color: $color-editor-fg;} & .cm-link {color: $color-editor-fg;} - & .CodeMirror-cursor { - border-color: $color-editor-fg; + & :not(.cm-fat-cursor) .CodeMirror-cursor { + border-left: thin solid $color-editor-fg;; + border-right: none; + width: 0; } }