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
199f368a
Commit
199f368a
authored
May 30, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab-ce master
parents
43232dbe
98db2e96
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
14 additions
and
7 deletions
+14
-7
app/assets/javascripts/diffs/components/diff_file_header.vue
app/assets/javascripts/diffs/components/diff_file_header.vue
+1
-1
app/assets/stylesheets/framework/buttons.scss
app/assets/stylesheets/framework/buttons.scss
+2
-0
app/assets/stylesheets/framework/files.scss
app/assets/stylesheets/framework/files.scss
+0
-4
app/assets/stylesheets/framework/snippets.scss
app/assets/stylesheets/framework/snippets.scss
+4
-0
app/helpers/blob_helper.rb
app/helpers/blob_helper.rb
+1
-1
app/views/projects/blob/_header_content.html.haml
app/views/projects/blob/_header_content.html.haml
+1
-1
changelogs/unreleased/61323-snippet-copy-icon-button-is-misaligned.yml
...released/61323-snippet-copy-icon-button-is-misaligned.yml
+5
-0
No files found.
app/assets/javascripts/diffs/components/diff_file_header.vue
View file @
199f368a
...
...
@@ -240,7 +240,7 @@ export default {
css-class=
"btn-default btn-transparent btn-clipboard"
/>
<small
v-if=
"isModeChanged"
ref=
"fileMode"
>
<small
v-if=
"isModeChanged"
ref=
"fileMode"
class=
"mr-1"
>
{{
diffFile
.
a_mode
}}
→
{{
diffFile
.
b_mode
}}
</small>
...
...
app/assets/stylesheets/framework/buttons.scss
View file @
199f368a
...
...
@@ -339,6 +339,8 @@
svg
{
top
:
auto
;
width
:
16px
;
height
:
16px
;
}
}
...
...
app/assets/stylesheets/framework/files.scss
View file @
199f368a
...
...
@@ -366,10 +366,6 @@ span.idiff {
color
:
$gl-text-color
;
}
small
{
margin
:
0
10px
0
0
;
}
.file-actions
.btn
{
padding
:
0
10px
;
font-size
:
13px
;
...
...
app/assets/stylesheets/framework/snippets.scss
View file @
199f368a
...
...
@@ -22,6 +22,10 @@
.snippet-file-content
{
border-radius
:
3px
;
.file-title-flex-parent
.btn-clipboard
{
line-height
:
28px
;
}
}
.snippet-header
{
...
...
app/helpers/blob_helper.rb
View file @
199f368a
...
...
@@ -188,7 +188,7 @@ module BlobHelper
end
def
copy_file_path_button
(
file_path
)
clipboard_button
(
text:
file_path
,
gfm:
"`
#{
file_path
}
`"
,
class:
'btn-clipboard btn-transparent
prepend-left-5
'
,
title:
'Copy file path to clipboard'
)
clipboard_button
(
text:
file_path
,
gfm:
"`
#{
file_path
}
`"
,
class:
'btn-clipboard btn-transparent'
,
title:
'Copy file path to clipboard'
)
end
def
copy_blob_source_button
(
blob
)
...
...
app/views/projects/blob/_header_content.html.haml
View file @
199f368a
...
...
@@ -6,7 +6,7 @@
=
copy_file_path_button
(
blob
.
path
)
%small
%small
.mr-1
=
number_to_human_size
(
blob
.
raw_size
)
-
if
blob
.
stored_externally?
&&
blob
.
external_storage
==
:lfs
...
...
changelogs/unreleased/61323-snippet-copy-icon-button-is-misaligned.yml
0 → 100644
View file @
199f368a
---
title
:
Resolve Snippet icon button is misaligned
merge_request
:
28522
author
:
Marcel van Remmerden
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