diff options
author | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-04-06 13:54:41 -0500 |
---|---|---|
committer | Jacob Schatz <jschatz1@gmail.com> | 2017-04-06 19:22:33 -0400 |
commit | 2c9239fb66b9859f29e23b6de6b0523f23212ae8 (patch) | |
tree | d62be99fdbb6b0012e077171db609321cd55a3c7 /app | |
parent | 5c7953fb82c8982d0928892812e55711cab2e11c (diff) | |
download | gitlab-ce-2c9239fb66b9859f29e23b6de6b0523f23212ae8.tar.gz |
Change edit icon
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/stylesheets/pages/notes.scss | 4 | ||||
-rw-r--r-- | app/helpers/system_note_helper.rb | 2 | ||||
-rw-r--r-- | app/views/shared/icons/_icon_edit.svg | 1 |
3 files changed, 4 insertions, 3 deletions
diff --git a/app/assets/stylesheets/pages/notes.scss b/app/assets/stylesheets/pages/notes.scss index 37709b89ede..12ca20a1420 100644 --- a/app/assets/stylesheets/pages/notes.scss +++ b/app/assets/stylesheets/pages/notes.scss @@ -18,8 +18,8 @@ ul.notes { float: left; svg { - height: 18px; - width: auto; + width: 18px; + height: auto; fill: $gray-darkest; position: absolute; left: 30px; diff --git a/app/helpers/system_note_helper.rb b/app/helpers/system_note_helper.rb index dcf5a301750..51ebac88d91 100644 --- a/app/helpers/system_note_helper.rb +++ b/app/helpers/system_note_helper.rb @@ -18,7 +18,7 @@ module SystemNoteHelper when 'assignee' 'icon_user' when 'title' - 'icon_pencil' + 'icon_edit' when 'task' 'icon_check_square_o' when 'label' diff --git a/app/views/shared/icons/_icon_edit.svg b/app/views/shared/icons/_icon_edit.svg new file mode 100644 index 00000000000..cd4e34147e1 --- /dev/null +++ b/app/views/shared/icons/_icon_edit.svg @@ -0,0 +1 @@ +<svg width="1792" height="1792" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"><path d="M888 1184l116-116-152-152-116 116v56h96v96h56zm440-720q-16-16-33 1l-350 350q-17 17-1 33t33-1l350-350q17-17 1-33zm80 594v190q0 119-84.5 203.5t-203.5 84.5h-832q-119 0-203.5-84.5t-84.5-203.5v-832q0-119 84.5-203.5t203.5-84.5h832q63 0 117 25 15 7 18 23 3 17-9 29l-49 49q-14 14-32 8-23-6-45-6h-832q-66 0-113 47t-47 113v832q0 66 47 113t113 47h832q66 0 113-47t47-113v-126q0-13 9-22l64-64q15-15 35-7t20 29zm-96-738l288 288-672 672h-288v-288zm444 132l-92 92-288-288 92-92q28-28 68-28t68 28l152 152q28 28 28 68t-28 68z"/></svg> |