From e184dfc3c02e942fae0cc264770ffaa4b0201616 Mon Sep 17 00:00:00 2001 From: Regis Boudinot Date: Fri, 11 Aug 2017 21:55:36 +0000 Subject: fix confidential border issue as well as confidential styles leaking on new MR --- app/assets/stylesheets/pages/note_form.scss | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) (limited to 'app/assets/stylesheets/pages/note_form.scss') diff --git a/app/assets/stylesheets/pages/note_form.scss b/app/assets/stylesheets/pages/note_form.scss index c90642178fc..b4468d6d0a2 100644 --- a/app/assets/stylesheets/pages/note_form.scss +++ b/app/assets/stylesheets/pages/note_form.scss @@ -108,6 +108,7 @@ background-color: $orange-50; border-radius: $border-radius-default $border-radius-default 0 0; border: 1px solid $border-gray-normal; + border-bottom: none; padding: 3px 12px; margin: auto; align-items: center; @@ -132,22 +133,9 @@ } } -.not-confidential { - padding: 0; - border-top: none; -} - -.right-sidebar-expanded { - .md-area { - border-radius: 0; - border-top: none; - } -} - -.right-sidebar-collapsed { - .confidential-issue-warning { - border-bottom: none; - } +.confidential-issue-warning + .md-area { + border-top-left-radius: 0; + border-top-right-radius: 0; } .discussion-form { -- cgit v1.2.1