From d11bcddc350cdfbdb6d487d0f32fd41edba3ada3 Mon Sep 17 00:00:00 2001 From: Adam Waldenberg Date: Sat, 7 Nov 2015 14:22:43 +0100 Subject: [PATCH] Removed old HTML output header "hack" calculation (#28). This is unnecessary and breaks any new responsive designs. --- gitinspector/html/html.header | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gitinspector/html/html.header b/gitinspector/html/html.header index 7547bf7..8ee7a0b 100644 --- a/gitinspector/html/html.header +++ b/gitinspector/html/html.header @@ -16,10 +16,9 @@ var MINOR_AUTHOR_PERCENTAGE = 1.00; var isReversed = false; - // Fix header and set it to the right width. - var remainingHeaderWidth = ($("div.logo").width() - 4) - ($("div.logo img").innerWidth() + 48) - $("div.logo p").css("width", remainingHeaderWidth); + //var remainingHeaderWidth = ($("div.logo").width() - 4) - ($("div.logo img").innerWidth() + 48) + //$("div.logo p").css("width", remainingHeaderWidth); var filterResponsibilities = function() {{ $("table#blame tbody tr td:last-child").filter(function() {{