Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
15b1ad91
Commit
15b1ad91
authored
Jun 23, 2020
by
Jeremy Elder
Committed by
Ezekiel Kigbo
Jun 23, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace attach icon and address space
parent
afc09430
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
6 deletions
+16
-6
app/assets/javascripts/vue_shared/components/markdown/toolbar.vue
...ts/javascripts/vue_shared/components/markdown/toolbar.vue
+2
-2
app/assets/stylesheets/pages/note_form.scss
app/assets/stylesheets/pages/note_form.scss
+5
-0
app/views/shared/notes/_hints.html.haml
app/views/shared/notes/_hints.html.haml
+4
-4
changelogs/unreleased/fix-attach-file-icon-margin.yml
changelogs/unreleased/fix-attach-file-icon-margin.yml
+5
-0
No files found.
app/assets/javascripts/vue_shared/components/markdown/toolbar.vue
View file @
15b1ad91
...
@@ -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>
...
...
app/assets/stylesheets/pages/note_form.scss
View file @
15b1ad91
...
@@ -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
{
...
...
app/views/shared/notes/_hints.html.haml
View file @
15b1ad91
...
@@ -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"
)
...
...
changelogs/unreleased/fix-attach-file-icon-margin.yml
0 → 100644
View file @
15b1ad91
---
title
:
Update icon associated with attach a file actions
merge_request
:
34401
author
:
type
:
other
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment