Skip to content

Commit 029efa4

Browse files
committed
css fix to Y scrollbar on side by side diff
1 parent 976ec24 commit 029efa4

File tree

5 files changed

+6
-3
lines changed

5 files changed

+6
-3
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "diff2html",
3-
"version": "0.2.4",
3+
"version": "0.2.5",
44
"homepage": "https://github.com/rtfpessoa/diff2html",
55
"authors": [
66
"Rodrigo Fernandes <rtfrodrigo@gmail.com>"

css/diff2html.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@
8181
.d2h-file-side-diff {
8282
display: inline-block;
8383
overflow-x: scroll;
84+
overflow-y: hidden;
8485
width: 50%;
8586
margin-right: -4px;
8687
}

dist/diff2html.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,13 @@
7575

7676
.d2h-file-diff {
7777
overflow-x: scroll;
78+
overflow-y: hidden;
7879
}
7980

8081
.d2h-file-side-diff {
8182
display: inline-block;
8283
overflow-x: scroll;
84+
overflow-y: hidden;
8385
width: 50%;
8486
margin-right: -4px;
8587
}

dist/diff2html.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/diff2html.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)