mirror of
https://github.com/ejwa/gitinspector.git
synced 2025-03-20 07:18:18 +01:00
Fixed horizontal centering of the header in the HTML output.
This commit is contained in:
parent
fac4b34646
commit
b2528cfda7
1 changed files with 8 additions and 2 deletions
|
@ -26,6 +26,10 @@
|
|||
}}
|
||||
}}
|
||||
|
||||
// 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 filterResponsibilities = function() {{
|
||||
$("table#blame tbody tr td:last-child").filter(function() {{
|
||||
return parseFloat(this.innerHTML) < MINOR_AUTHOR_PERCENTAGE;
|
||||
|
@ -185,10 +189,12 @@
|
|||
-moz-box-shadow: 1px 1px 3px #666;
|
||||
}}
|
||||
div.logo p {{
|
||||
margin-top: 18px;
|
||||
width: 60em;
|
||||
display:inline-block;
|
||||
vertical-align:middle;
|
||||
}}
|
||||
div.logo img {{
|
||||
float: left;
|
||||
vertical-align:middle;
|
||||
padding: 2px 10px 2px 2px;
|
||||
}}
|
||||
body > div {{
|
||||
|
|
Loading…
Add table
Reference in a new issue