Commit 47f172bc authored by Annabel Dunstone Gray's avatar Annabel Dunstone Gray

Merge branch 'fix-image-diff-swipe-handle' into 'master'

Fix image diff swipe handle offset to correctly align with the frame

Closes #37928

See merge request gitlab-org/gitlab-ce!14392
parents d3ee059d 15290375
......@@ -134,8 +134,9 @@
width: maxWidth + 1,
height: maxHeight + 2
});
// Set swipeBar left position to match image frame
$swipeBar.css({
left: 0
left: 1
});
wrapPadding = parseInt($swipeWrap.css('right').replace('px', ''), 10);
......
---
title: Fix image diff swipe handle offset to correctly align with the frame
merge_request:
author:
type: fixed
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