]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Add missing icon class definition for buttons.less 5367/head
authoramid2887 <amid2887@yandex.ru>
Mon, 1 Oct 2012 05:27:37 +0000 (12:27 +0700)
committeramid2887 <amid2887@yandex.ru>
Mon, 1 Oct 2012 05:27:37 +0000 (12:27 +0700)
add missing icon class definition for buttons:
'[class*=" icon-"]'

less/buttons.less

index 3fd1e95f5fba5efdd7c0d2959203304be5d95c1c..ada76ea22319e1b5bf94a51264f20232d783a9aa 100644 (file)
@@ -78,7 +78,8 @@
   line-height: normal;
   .border-radius(5px);
 }
-.btn-large [class^="icon-"] {
+.btn-large [class^="icon-"],
+.btn-large [class*=" icon-"] {
   margin-top: 2px;
 }
 
@@ -88,7 +89,8 @@
   font-size: @baseFontSize - 2px;
   line-height: @baseLineHeight - 2px;
 }
-.btn-small [class^="icon-"] {
+.btn-small [class^="icon-"],
+.btn-small [class*=" icon-"] {
   margin-top: 0;
 }