From 682961c162ce60b25749e02a0c4de44dc7dda917 Mon Sep 17 00:00:00 2001 From: Tony Finch Date: Tue, 20 Aug 2013 17:59:02 +0100 Subject: gitweb: ensure OPML text fits inside its box The rss_logo CSS style has a fixed width which is too narrow for the string "OPML". Replace the fixed width with horizontal padding so the text fits with nice margins. Signed-off-by: Tony Finch Signed-off-by: Junio C Hamano --- gitweb/static/gitweb.css | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gitweb/static') diff --git a/gitweb/static/gitweb.css b/gitweb/static/gitweb.css index cb86d2d029..a869be144d 100644 --- a/gitweb/static/gitweb.css +++ b/gitweb/static/gitweb.css @@ -548,8 +548,7 @@ a.linenr { a.rss_logo { float: right; - padding: 3px 0px; - width: 35px; + padding: 3px 5px; line-height: 10px; border: 1px solid; border-color: #fcc7a5 #7d3302 #3e1a01 #ff954e; -- cgit v1.3 From 1201f0a76cbc006566532577c1cc9123412ecdab Mon Sep 17 00:00:00 2001 From: Tony Finch Date: Tue, 20 Aug 2013 17:59:03 +0100 Subject: gitweb: vertically centre contents of page footer Signed-off-by: Tony Finch Signed-off-by: Junio C Hamano --- gitweb/static/gitweb.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gitweb/static') diff --git a/gitweb/static/gitweb.css b/gitweb/static/gitweb.css index a869be144d..3b4d833823 100644 --- a/gitweb/static/gitweb.css +++ b/gitweb/static/gitweb.css @@ -68,12 +68,13 @@ div.page_path { } div.page_footer { - height: 17px; + height: 22px; padding: 4px 8px; background-color: #d9d8d1; } div.page_footer_text { + line-height: 22px; float: left; color: #555555; font-style: italic; -- cgit v1.3