diff options
author | Marcel van Remmerden <mvanremmerden@gitlab.com> | 2019-05-31 22:56:38 +0300 |
---|---|---|
committer | Annabel Dunstone Gray <annabel.m.gray@gmail.com> | 2019-05-31 22:56:38 +0300 |
commit | aa5bfb91878ff5341207fcf4dde425779e6dbe2d (patch) | |
tree | 52325c3ae2f02959545a200d6abdbab3758b517b /app/views/shared | |
parent | 9209736a22501dd4ea16afee86d0968bead84100 (diff) |
Add hover and focus to "Attach a file"
Diffstat (limited to 'app/views/shared')
-rw-r--r-- | app/views/shared/notes/_hints.html.haml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/views/shared/notes/_hints.html.haml b/app/views/shared/notes/_hints.html.haml index 46f3f8428f1..fae7d6526e8 100644 --- a/app/views/shared/notes/_hints.html.haml +++ b/app/views/shared/notes/_hints.html.haml @@ -28,8 +28,9 @@ or %button.attach-new-file.markdown-selector{ type: 'button' }= _("attach a new file") - %button.markdown-selector.button-attach-file{ type: 'button', tabindex: '-1' } + %button.markdown-selector.button-attach-file.btn-link{ type: 'button', tabindex: '-1' } = icon('file-image-o', class: 'toolbar-button-icon') - = _("Attach a file") + %span.text-attach-file<> + = _("Attach a file") %button.btn.btn-default.btn-sm.hide.button-cancel-uploading-files{ type: 'button' }= _("Cancel") |