From 7fe22744daba711673c69a2854b7e0356569b372 Mon Sep 17 00:00:00 2001 From: "mohanapriya.c" Date: Mon, 24 Sep 2018 16:57:14 +0530 Subject: [PATCH] diff2html new changes --- dist/diff2html.css | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/dist/diff2html.css b/dist/diff2html.css index 38f5949..0b9e020 100644 --- a/dist/diff2html.css +++ b/dist/diff2html.css @@ -68,6 +68,10 @@ font-size: 13px; } +.fixed-layout { + table-layout: fixed; +} + .d2h-diff-tbody > tr > td { height: 20px; line-height: 20px; @@ -109,6 +113,12 @@ margin-left: 80px; } +.d2h-wrapped-code-line { + display: inline-block; + white-space: nowrap; + padding: 0 10px; +} + .d2h-code-side-line { display: inline-block; white-space: nowrap; @@ -120,7 +130,6 @@ display: inline-block; white-space: nowrap; padding: 0 10px; - width:720px; } .d2h-wrapped-code-side-line del, @@ -201,6 +210,19 @@ cursor: pointer; } +.d2h-wrapped-code-linenumber { + box-sizing: border-box; + position: relative; + width: 86px; + padding-left: 2px; + padding-right: 2px; + background-color: #fff; + color: rgba(0, 0, 0, 0.3); + text-align: right; + border: solid #eeeeee; + border-width: 0 1px 0 1px; + cursor: pointer; +} .d2h-code-side-linenumber { box-sizing: border-box; position: absolute;