From d1a7a3c265c9c0b0f4165091cbbfe02d998b4a6a Mon Sep 17 00:00:00 2001 From: Tair Assimov Date: Wed, 14 Sep 2011 17:42:30 +0300 Subject: [PATCH] Fix the problem with padding icon-only buttons This tiny line fixes the problem with buttons that have icons but no text. In this case the padding-right is too wide. --- gh-buttons.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gh-buttons.css b/gh-buttons.css index 70c1d97..6ca3c38 100644 --- a/gh-buttons.css +++ b/gh-buttons.css @@ -38,6 +38,11 @@ http://github.com/necolas/css3-github-buttons *display: inline; } +/* overrides padding for buttons with icons but no text */ +.button.no-text { + padding-right: 0px !important; +} + .button:hover, .button:focus, .button:active,