Commit beb5e1bd6b6656b7c4f412a72c02c3e72ec5253c
1 parent
adeeae9f
Exists in
master
and in
4 other branches
Sanitize glm helper
Showing
3 changed files
with
8 additions
and
3 deletions
Show diff stats
app/assets/stylesheets/sections/notes.scss
... | ... | @@ -31,7 +31,7 @@ |
31 | 31 | |
32 | 32 | #new_note { |
33 | 33 | .note-text { |
34 | - height:25px; | |
34 | + height:40px; | |
35 | 35 | } |
36 | 36 | .attach_holder { |
37 | 37 | display:none; |
... | ... | @@ -212,3 +212,8 @@ td .line_note_link { |
212 | 212 | } |
213 | 213 | } |
214 | 214 | } |
215 | + | |
216 | +.note-text { | |
217 | + border: 1px solid #aaa; | |
218 | + box-shadow:none; | |
219 | +} | ... | ... |
app/helpers/gitlab_markdown_helper.rb
app/views/notes/_per_line_form.html.haml
... | ... | @@ -16,7 +16,7 @@ |
16 | 16 | = f.text_area :note, size: 255, class: 'line-note-text' |
17 | 17 | .note_actions |
18 | 18 | .buttons |
19 | - = f.submit 'Add note', class: "btn primary submit_note submit_inline_note", id: "submit_note" | |
19 | + = f.submit 'Add note', class: "btn save-btn submit_note submit_inline_note", id: "submit_note" | |
20 | 20 | = link_to "Cancel", "#", class: "btn hide-button" |
21 | 21 | .options |
22 | 22 | %h6.left Notify via email: | ... | ... |