From 71ae717dcb990bf244f5708819700f1ca783880e Mon Sep 17 00:00:00 2001 From: Rodrigo Fernandes Date: Sat, 10 Sep 2016 14:55:10 +0100 Subject: [PATCH] Release version 2.0.5 --- bower.json | 2 +- dist/diff2html.css | 26 ++++++++++++++++++-------- package.json | 2 +- 3 files changed, 20 insertions(+), 10 deletions(-) diff --git a/bower.json b/bower.json index 72c8ba5..afd48f2 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "diff2html", - "version": "2.0.4", + "version": "2.0.5", "homepage": "https://diff2html.xyz", "description": "Fast Diff to colorized HTML", "keywords": [ diff --git a/dist/diff2html.css b/dist/diff2html.css index b5e160b..48b345e 100644 --- a/dist/diff2html.css +++ b/dist/diff2html.css @@ -52,13 +52,14 @@ width: 100%; font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 15px; + line-height: 15px; } .d2h-file-name { + line-height: 33px; white-space: nowrap; text-overflow: ellipsis; - overflow-x: hidden; - line-height: 21px; + overflow: hidden; } .d2h-file-wrapper { @@ -74,15 +75,13 @@ font-size: 13px; } -.d2h-diff-tbody > tr > td { - height: 20px; - line-height: 20px; +.d2h-diff-tbody > tr > td > div { + height: 16px; + line-height: 16px; } .d2h-files-diff { - display: block; width: 100%; - height: 100%; } .d2h-file-diff { @@ -96,7 +95,6 @@ overflow-y: hidden; width: 50%; margin-right: -4px; - margin-bottom: -8px; } .d2h-code-line { @@ -104,12 +102,16 @@ white-space: nowrap; padding: 0 10px; margin-left: 80px; + height: 20px; + line-height: 20px; } .d2h-code-side-line { display: inline-block; white-space: nowrap; padding: 0 10px; + height: 20px; + line-height: 20px; margin-left: 50px; } @@ -170,8 +172,10 @@ box-sizing: border-box; position: absolute; width: 86px; + height: 18px; padding-left: 2px; padding-right: 2px; + line-height: 18px; background-color: #fff; color: rgba(0, 0, 0, 0.3); text-align: right; @@ -186,6 +190,8 @@ width: 56px; padding-left: 5px; padding-right: 5px; + height: 18px; + line-height: 18px; background-color: #fff; color: rgba(0, 0, 0, 0.3); text-align: right; @@ -256,6 +262,10 @@ text-align: left; } +.d2h-file-list-line .d2h-file-name { + line-height: 21px; +} + .d2h-file-list { display: block; list-style: none; diff --git a/package.json b/package.json index 36c275d..e0c10e8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "diff2html", - "version": "2.0.4", + "version": "2.0.5", "homepage": "https://diff2html.xyz", "description": "Fast Diff to colorized HTML", "keywords": [