From 16e4747d3cb2c2a53a6bef554bca306d8594a080 Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Fri, 14 Sep 2012 17:51:04 -0400 Subject: [PATCH] Mostly complete blob view line links feature, DOM offset bug remains (issue 130) --- resources/gitblit.css | 23 +++++++++++++++++++++++ 1 files changed, 23 insertions(+), 0 deletions(-) diff --git a/resources/gitblit.css b/resources/gitblit.css index 7a73a24..861fc41 100644 --- a/resources/gitblit.css +++ b/resources/gitblit.css @@ -145,6 +145,7 @@ border:0px; padding: 0; line-height: 1.35em; + vertical-align:top; } table { @@ -161,10 +162,32 @@ text-align: left; } +div.sourceview { + overflow: auto; +} pre.prettyprint ol { padding-left:25px; } +#nums { + text-align: right; + padding-right:10px; + border-right:1px solid #ddd; + font-family: monospace; + line-height: 1.35em; + vertical-align:top; +} + +#nums pre { + white-space: pre; +} + +#lines pre { + padding: 0px 5px !important; + border: 0px !important; + white-space: nowrap; +} + h1 small, h2 small, h3 small, h4 small, h5 small, h6 small { color: #888; } -- Gitblit v1.9.1