diff options
author | Phil Hughes <me@iamphill.com> | 2016-03-30 10:24:50 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-04-04 10:48:49 +0100 |
commit | f0d2f370ccef7fd1fca4477111e6ded8133c4b36 (patch) | |
tree | 29ac1f51e6372b8116079e3d580a64600b449326 | |
parent | af3284d98b68dedbdab3821fa99ee53437ee3d32 (diff) | |
download | gitlab-ce-f0d2f370ccef7fd1fca4477111e6ded8133c4b36.tar.gz |
Removed css code that isnt used
-rw-r--r-- | app/assets/javascripts/notes.js.coffee | 1 | ||||
-rw-r--r-- | app/assets/stylesheets/pages/note_form.scss | 28 | ||||
-rw-r--r-- | app/views/projects/notes/_hints.html.haml | 10 |
3 files changed, 0 insertions, 39 deletions
diff --git a/app/assets/javascripts/notes.js.coffee b/app/assets/javascripts/notes.js.coffee index 40326ec96a8..ae16769ad4b 100644 --- a/app/assets/javascripts/notes.js.coffee +++ b/app/assets/javascripts/notes.js.coffee @@ -305,7 +305,6 @@ class @Notes ] # remove notify commit author checkbox for non-commit notes - form.find(".js-notify-commit-author").remove() if form.find("#note_noteable_type").val() isnt "Commit" GitLab.GfmAutoComplete.setup() new DropzoneInput(form) form.show() diff --git a/app/assets/stylesheets/pages/note_form.scss b/app/assets/stylesheets/pages/note_form.scss index 7bd666d1c69..56912791212 100644 --- a/app/assets/stylesheets/pages/note_form.scss +++ b/app/assets/stylesheets/pages/note_form.scss @@ -37,10 +37,6 @@ img { max-width: 100%; } - - .comment-hints { - margin-top: -12px; - } } .note-textarea { @@ -77,30 +73,6 @@ } } -.note-form-actions { - .note-form-option { - margin-top: 8px; - margin-left: 30px; - @extend .pull-left; - } - - .js-notify-commit-author { - float: left; - } - - .write-preview-btn { - // makes the "absolute" position for links relative to this - position: relative; - - // preview/edit buttons - > a { - position: absolute; - right: 5px; - top: 8px; - } - } -} - .note-edit-form { display: none; font-size: 15px; diff --git a/app/views/projects/notes/_hints.html.haml b/app/views/projects/notes/_hints.html.haml index 19783c8a81c..0c6758210b1 100644 --- a/app/views/projects/notes/_hints.html.haml +++ b/app/views/projects/notes/_hints.html.haml @@ -9,13 +9,3 @@ %button.toolbar-button.markdown-selector{ type: 'button', tabindex: '-1' } = icon('file-image-o', class: 'toolbar-button-icon') Attach a file - --# .comment-hints.clearfix --# .pull-left --# = link_to 'Markdown', help_page_path('markdown', 'markdown'), target: '_blank', tabindex: -1 --# tip: --# = random_markdown_tip --# .pull-right --# = link_to '#', class: 'markdown-selector', tabindex: -1 do --# = icon('paperclip') --# Attach a file |