summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets
diff options
context:
space:
mode:
authorJacob Schatz <jschatz1@gmail.com>2016-03-20 15:54:49 +0000
committerJacob Schatz <jschatz1@gmail.com>2016-03-20 15:54:49 +0000
commita4422a3a2efa983a2a7a21a806eb4e4c957e7be0 (patch)
tree55478428138be028da27ba241d295a6cf7e8b2e7 /app/assets/stylesheets
parentd3e9134601900e6e11dea5bd1fbabce57ef76fe3 (diff)
parent7dde8b2cf050ca6162f75799e2966015a476b38c (diff)
downloadgitlab-ce-a4422a3a2efa983a2a7a21a806eb4e4c957e7be0.tar.gz
Merge branch 'edit-form-alignment' into 'master'
Fix spacing below edit note form Also changed to allow the CSS to decide what should be hidden when editing Thanks @JobV for having eagle eyes :stuck_out_tongue_winking_eye: See merge request !3306
Diffstat (limited to 'app/assets/stylesheets')
-rw-r--r--app/assets/stylesheets/pages/note_form.scss2
-rw-r--r--app/assets/stylesheets/pages/notes.scss12
2 files changed, 13 insertions, 1 deletions
diff --git a/app/assets/stylesheets/pages/note_form.scss b/app/assets/stylesheets/pages/note_form.scss
index 61783ec46aa..daf2651425f 100644
--- a/app/assets/stylesheets/pages/note_form.scss
+++ b/app/assets/stylesheets/pages/note_form.scss
@@ -26,7 +26,7 @@
display: none;
}
-.new_note, .edit_note {
+.new_note, .note-edit-form {
.note-form-actions {
margin-top: $gl-padding;
}
diff --git a/app/assets/stylesheets/pages/notes.scss b/app/assets/stylesheets/pages/notes.scss
index d408853cc80..4bd2016bdcf 100644
--- a/app/assets/stylesheets/pages/notes.scss
+++ b/app/assets/stylesheets/pages/notes.scss
@@ -100,6 +100,18 @@ ul.notes {
display: block;
position: relative;
+ &.is-editting {
+ .note-header,
+ .note-text,
+ .edited-text {
+ display: none;
+ }
+
+ .note-edit-form {
+ display: block;
+ }
+ }
+
.note-body {
overflow: auto;