summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThibaut Horel <thibaut.horel@gmail.com>2014-03-23 17:29:18 -0400
committerThibaut Horel <thibaut.horel@gmail.com>2014-03-23 17:29:18 -0400
commitb53fbea08b2bc9a6367d5827e1c1b7fc244a6614 (patch)
tree790f2dd237f701a34a2d93523d92aee41d3428f8
parentad2a94633825228d741c884a7d3e87c10fbd527f (diff)
downloadcgit-skin-b53fbea08b2bc9a6367d5827e1c1b7fc244a6614.tar.gz
Fluid diff width
-rw-r--r--cgit.css10
1 files changed, 2 insertions, 8 deletions
diff --git a/cgit.css b/cgit.css
index 22d4a93..3bcab16 100644
--- a/cgit.css
+++ b/cgit.css
@@ -115,9 +115,9 @@ body {
#cgit .content {
min-width: 920px;
- max-width: 1300px;
margin: 0 auto;
display: table;
+ padding: 0 1em;
}
#cgit .right {
@@ -208,22 +208,16 @@ body {
border: 1px solid #CCC;
font-size: 90%;
line-height: 150%;
- overflow: auto;
- display: block;
border-collapse: collapse;
}
#cgit .ssdiff {
- clear: both;
- min-width: 920px;
- max-width: 1300px;
+ width: 920px;
font-family: "Source Code Pro";
font-size: 80%;
line-height: 150%;
border-collapse: collapse;
white-space: pre;
- overflow: auto;
- display: block;
margin: 1em 0;
}