From 246795c6b2af291cca13135fd3e0ff8cee8ff3be Mon Sep 17 00:00:00 2001 From: Thomas Randolph Date: Thu, 25 Jan 2024 11:58:01 -0700 Subject: [PATCH 1/2] Also hide solo draft comment text when editing them --- app/assets/stylesheets/pages/notes.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/assets/stylesheets/pages/notes.scss b/app/assets/stylesheets/pages/notes.scss index a706c003c51d25..14b0148931056d 100644 --- a/app/assets/stylesheets/pages/notes.scss +++ b/app/assets/stylesheets/pages/notes.scss @@ -270,6 +270,10 @@ $system-note-icon-m-left: $avatar-m-left + $icon-size-diff / $avatar-m-ratio; } } + .timeline-entry-inner > li.is-editing .note-text{ + display: none; + } + > li { display: block; position: relative; -- GitLab From 4b74a77c45f22b465070c4f0237555045b215171 Mon Sep 17 00:00:00 2001 From: Thomas Randolph Date: Fri, 26 Jan 2024 13:17:19 -0700 Subject: [PATCH 2/2] Also hide note actions to be taken on non-draft notes --- app/assets/stylesheets/pages/notes.scss | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/pages/notes.scss b/app/assets/stylesheets/pages/notes.scss index 14b0148931056d..a87126fde6c02e 100644 --- a/app/assets/stylesheets/pages/notes.scss +++ b/app/assets/stylesheets/pages/notes.scss @@ -270,8 +270,11 @@ $system-note-icon-m-left: $avatar-m-left + $icon-size-diff / $avatar-m-ratio; } } - .timeline-entry-inner > li.is-editing .note-text{ - display: none; + .timeline-entry-inner > li.is-editing { + .note-actions, + .note-text { + display: none; + } } > li { -- GitLab