From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Finch Subject: [PATCH] gitweb: Ensure OPML text fits inside its box. Date: Tue, 9 Jul 2013 17:43:42 +0100 Message-ID: Cc: =?UTF-8?Q?Jakub_Nar=C4=99bski?= To: git@vger.kernel.org X-From: git-owner@vger.kernel.org Tue Jul 09 18:50:11 2013 Return-path: Envelope-to: gcvg-git-2@plane.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Uwb7C-0004hy-Dq for gcvg-git-2@plane.gmane.org; Tue, 09 Jul 2013 18:50:10 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752615Ab3GIQuA (ORCPT ); Tue, 9 Jul 2013 12:50:00 -0400 Received: from ppsw-32.csi.cam.ac.uk ([131.111.8.132]:48524 "EHLO ppsw-32.csi.cam.ac.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752113Ab3GIQt4 (ORCPT ); Tue, 9 Jul 2013 12:49:56 -0400 X-Cam-AntiVirus: no malware found X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ Received: from hermes-2.csi.cam.ac.uk ([131.111.8.54]:44120) by ppsw-32.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.156]:25) with esmtpa (EXTERNAL:fanf2) id 1Uwb6x-0001AO-1D (Exim 4.80_167-5a66dd3) (return-path ); Tue, 09 Jul 2013 17:49:55 +0100 Received: from fanf2 by hermes-2.csi.cam.ac.uk (hermes.cam.ac.uk) with local id 1Uwb6x-0002XI-Ah (Exim 4.72) (return-path ); Tue, 09 Jul 2013 17:49:55 +0100 Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: 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. --- For before/after examples, see http://dotat.at/cgi/git (overflow) and https://git.csx.cam.ac.uk/x/ucs/ (padded). gitweb/static/gitweb.css | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gitweb/static/gitweb.css b/gitweb/static/gitweb.css index cb86d2d..a869be1 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; -- 1.8.3.1.605.g85318f5