From b53fbea08b2bc9a6367d5827e1c1b7fc244a6614 Mon Sep 17 00:00:00 2001 From: Thibaut Horel Date: Sun, 23 Mar 2014 17:29:18 -0400 Subject: Fluid diff width --- cgit.css | 10 ++-------- 1 file 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; } -- cgit v1.2.3-70-g09d2