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
72086c4c
Commit
72086c4c
authored
Jun 30, 2018
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'upstream/master' into ce-to-ee-2018-06-30
parents
9bb4ee9e
00c1a58b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
app/assets/javascripts/diffs/components/diff_file_header.vue
app/assets/javascripts/diffs/components/diff_file_header.vue
+5
-1
app/assets/stylesheets/pages/diff.scss
app/assets/stylesheets/pages/diff.scss
+2
-2
No files found.
app/assets/javascripts/diffs/components/diff_file_header.vue
View file @
72086c4c
...
...
@@ -112,7 +112,11 @@ export default {
},
methods
:
{
handleToggle
(
e
,
checkTarget
)
{
if
(
!
checkTarget
||
e
.
target
===
this
.
$refs
.
header
)
{
if
(
!
checkTarget
||
e
.
target
===
this
.
$refs
.
header
||
(
e
.
target
.
classList
&&
e
.
target
.
classList
.
contains
(
'
diff-toggle-caret
'
))
)
{
this
.
$emit
(
'
toggleFile
'
);
}
},
...
...
app/assets/stylesheets/pages/diff.scss
View file @
72086c4c
...
...
@@ -14,8 +14,8 @@
background-color
:
$gray-normal
;
}
.diff-toggle-caret
{
padding-right
:
6px
;
svg
{
vertical-align
:
text-bottom
;
}
}
...
...
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