[PATCH] Atom/RSS logo display problem using min font size

Jesse Glick Jesse.Glick at Sun.COM
Thu Dec 20 06:13:11 CST 2007


# HG changeset patch
# User Jesse Glick <jesse.glick at sun.com>
# Date 1198152340 18000
# Node ID 5c5c28e204281f573d58ea70821cbbc6b8659070
# Parent  9d6ad26fab10e06768858ed1a74eff80207cb0f5
Atom/RSS logo display problem using min font size.
Using Minimum Font Size = 18 on Firefox, the Atom and RSS logos in a changeset
web page look crushed together. No need to specify an absolute width for text;
just use sensible padding instead.

diff -r 9d6ad26fab10 -r 5c5c28e20428 templates/static/style-gitweb.css
--- a/templates/static/style-gitweb.css	Tue Dec 18 15:40:46 2007 -0600
+++ b/templates/static/style-gitweb.css	Thu Dec 20 07:05:40 2007 -0500
@@ -40,7 +40,7 @@ div.search { margin:4px 8px; position:ab
 div.search { margin:4px 8px; position:absolute; top:56px; right:12px }
 .linenr { color:#999999; text-decoration:none }
 a.rss_logo {
-	float:right; padding:3px 0px; width:35px; line-height:10px;
+	float:right; padding:3px 6px; line-height:10px;
 	border:1px solid; border-color:#fcc7a5 #7d3302 #3e1a01 #ff954e;
 	color:#ffffff; background-color:#ff6600;
 	font-weight:bold; font-family:sans-serif; font-size:10px;


More information about the Mercurial-devel mailing list