Commit 15b1ad91 authored by Jeremy Elder's avatar Jeremy Elder Committed by Ezekiel Kigbo

Replace attach icon and address space

parent afc09430
...@@ -61,7 +61,7 @@ export default { ...@@ -61,7 +61,7 @@ export default {
<span v-if="canAttachFile" class="uploading-container"> <span v-if="canAttachFile" class="uploading-container">
<span class="uploading-progress-container hide"> <span class="uploading-progress-container hide">
<template> <template>
<gl-icon name="media" :size="16" /> <gl-icon name="media" :size="16" class="gl-vertical-align-text-bottom" />
</template> </template>
<span class="attaching-file-message"></span> <span class="attaching-file-message"></span>
<!-- eslint-disable-next-line @gitlab/vue-require-i18n-strings --> <!-- eslint-disable-next-line @gitlab/vue-require-i18n-strings -->
...@@ -71,7 +71,7 @@ export default { ...@@ -71,7 +71,7 @@ export default {
<span class="uploading-error-container hide"> <span class="uploading-error-container hide">
<span class="uploading-error-icon"> <span class="uploading-error-icon">
<template> <template>
<gl-icon name="media" :size="16" /> <gl-icon name="media" :size="16" class="gl-vertical-align-text-bottom" />
</template> </template>
</span> </span>
<span class="uploading-error-message"></span> <span class="uploading-error-message"></span>
......
...@@ -489,6 +489,7 @@ table { ...@@ -489,6 +489,7 @@ table {
border: 0; border: 0;
font-size: 14px; font-size: 14px;
line-height: 16px; line-height: 16px;
vertical-align: initial;
&:hover, &:hover,
&:focus { &:focus {
...@@ -498,6 +499,10 @@ table { ...@@ -498,6 +499,10 @@ table {
text-decoration: underline; text-decoration: underline;
} }
} }
.gl-icon:not(:last-child) {
margin-right: 0;
}
} }
.markdown-selector { .markdown-selector {
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
%span.uploading-container %span.uploading-container
%span.uploading-progress-container.hide %span.uploading-progress-container.hide
= icon('file-image-o', class: 'toolbar-button-icon') = sprite_icon('media', size: 16, css_class: 'gl-icon gl-vertical-align-text-bottom')
%span.attaching-file-message %span.attaching-file-message
-# Populated by app/assets/javascripts/dropzone_input.js -# Populated by app/assets/javascripts/dropzone_input.js
%span.uploading-progress 0% %span.uploading-progress 0%
...@@ -21,15 +21,15 @@ ...@@ -21,15 +21,15 @@
%span.uploading-error-container.hide %span.uploading-error-container.hide
%span.uploading-error-icon %span.uploading-error-icon
= icon('file-image-o', class: 'toolbar-button-icon') = sprite_icon('media', size: 16, css_class: 'gl-icon gl-vertical-align-text-bottom')
%span.uploading-error-message %span.uploading-error-message
-# Populated by app/assets/javascripts/dropzone_input.js -# Populated by app/assets/javascripts/dropzone_input.js
%button.retry-uploading-link{ type: 'button' }= _("Try again") %button.retry-uploading-link{ type: 'button' }= _("Try again")
or or
%button.attach-new-file.markdown-selector{ type: 'button' }= _("attach a new file") %button.attach-new-file.markdown-selector{ type: 'button' }= _("attach a new file")
%button.markdown-selector.button-attach-file.btn-link{ type: 'button' } %button.btn.markdown-selector.button-attach-file.btn-link{ type: 'button', tabindex: '-1' }
= icon('file-image-o', class: 'toolbar-button-icon') = sprite_icon('media', size: 16)
%span.text-attach-file<> %span.text-attach-file<>
= _("Attach a file") = _("Attach a file")
......
---
title: Update icon associated with attach a file actions
merge_request: 34401
author:
type: other
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment