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
ba13e8e4
Commit
ba13e8e4
authored
Apr 04, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab-ce master
parents
b460883b
cdce2074
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
app/assets/stylesheets/pages/diff.scss
app/assets/stylesheets/pages/diff.scss
+7
-1
app/views/projects/diffs/_replaced_image_diff.html.haml
app/views/projects/diffs/_replaced_image_diff.html.haml
+1
-1
No files found.
app/assets/stylesheets/pages/diff.scss
View file @
ba13e8e4
...
...
@@ -154,11 +154,17 @@
.swipe-wrap
{
overflow
:
hidden
;
border-
lef
t
:
1px
solid
$gl-gray-400
;
border-
righ
t
:
1px
solid
$gl-gray-400
;
position
:
absolute
;
display
:
block
;
top
:
13px
;
right
:
7px
;
&
.left-oriented
{
/* only for commit view (different swipe viewer) */
border-right
:
0
;
border-left
:
1px
solid
$gl-gray-400
;
}
}
.swipe-bar
{
...
...
app/views/projects/diffs/_replaced_image_diff.html.haml
View file @
ba13e8e4
...
...
@@ -37,7 +37,7 @@
.swipe-frame
.frame.deleted
=
image_tag
(
old_blob_raw_url
,
alt:
diff_file
.
old_path
,
lazy:
false
)
.swipe-wrap
.swipe-wrap
.left-oriented
=
render
partial:
"projects/diffs/image_diff_frame"
,
locals:
{
class_name:
"added js-image-frame
#{
class_name
}
"
,
position:
position
,
note_type:
DiffNote
.
name
,
image_path:
blob_raw_url
,
alt:
diff_file
.
new_path
}
%span
.swipe-bar
%span
.top-handle
...
...
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