[PATCH] diff view: fix tab width, move diff markers a bit to the left
Andrew Shadura
andrew at shadura.me
Tue May 5 07:30:37 EDT 2015
# HG changeset patch
# User Andrew Shadura <andrew at shadura.me>
# Date 1430825240 -7200
# Tue May 05 13:27:20 2015 +0200
# Node ID 7dca6303d91ddb98bcc62f085d5342609a4d40b2
# Parent 0c58b6dc55120dd609daf7f13b02f5c128292fb7
diff view: fix tab width, move diff markers a bit to the left
diff --git a/kallithea/public/css/style.css b/kallithea/public/css/style.css
--- a/kallithea/public/css/style.css
+++ b/kallithea/public/css/style.css
@@ -4971,15 +4971,27 @@ table.code-difftable .code pre {
table.code-difftable .del .code pre:before {
content: "-";
color: #550000;
+ float: left;
+ left: -1em;
+ position: relative;
+ width: 0;
}
table.code-difftable .add .code pre:before {
content: "+";
color: #005500;
+ float: left;
+ left: -1em;
+ position: relative;
+ width: 0;
}
table.code-difftable .unmod .code pre:before {
content: " ";
+ float: left;
+ left: -1em;
+ position: relative;
+ width: 0;
}
.add-bubble {
@@ -4996,6 +5008,7 @@ tr.line.add:hover td .add-bubble,
tr.line.del:hover td .add-bubble,
tr.line.unmod:hover td .add-bubble {
display: block;
+ z-index: 1;
}
.add-bubble div {
More information about the kallithea-general
mailing list