OSDN Git Service

File report: Tweak line numbers padding
authorTim Gerundt <tim@gerundt.de>
Wed, 29 May 2019 20:09:53 +0000 (22:09 +0200)
committerTim Gerundt <tim@gerundt.de>
Wed, 29 May 2019 20:09:53 +0000 (22:09 +0200)
Src/MergeDoc.cpp

index fc57e60..64ebc39 100644 (file)
@@ -3226,9 +3226,9 @@ bool CMergeDoc::GenerateReport(const String& sFileName) const
                _T("<title>WinMerge File Compare Report</title>\n")
                _T("<style type=\"text/css\">\n")
                _T("<!--\n")
-               _T("td,th {word-break: break-all; font-size: %dpt;}\n")
+               _T("td,th {word-break: break-all; font-size: %dpt;padding: 0 3px;}\n")
                _T("tr { vertical-align: top; }\n")
-               _T(".ln {text-align: right; word-break: normal; background-color: lightgrey; box-shadow: inset 1px 0px 0px rgba(0, 0, 0, 0.10);}\n")
+               _T(".ln {text-align: right; word-break: normal; background-color: lightgrey;}\n")
                _T(".title {color: white; background-color: blue; vertical-align: top; padding: 4px 4px; background: linear-gradient(mediumblue, darkblue);}\n")
                _T("%s")
                _T("-->\n")