]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
align text in buttons so folks can easily make them different widths
authorMark Otto <markdotto@gmail.com>
Fri, 27 Jan 2012 21:36:08 +0000 (13:36 -0800)
committerMark Otto <markdotto@gmail.com>
Fri, 27 Jan 2012 21:36:08 +0000 (13:36 -0800)
docs/assets/css/bootstrap.css
less/buttons.less

index 6c630c35e6859631126152674677926ba46915c3..9c8aaee5a54ede0e5c03102fe5347648397c9ab3 100644 (file)
@@ -6,7 +6,7 @@
  * http://www.apache.org/licenses/LICENSE-2.0
  *
  * Designed and built with all the love in the world @twitter by @mdo and @fat.
- * Date: Fri Jan 27 13:35:16 PST 2012
+ * Date: Fri Jan 27 13:35:54 PST 2012
  */
 article,
 aside,
@@ -2461,6 +2461,7 @@ table .span12 {
   font-size: 13px;
   line-height: 18px;
   color: #333333;
+  text-align: center;
   text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
   background-color: #fafafa;
   background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), color-stop(25%, #ffffff), to(#e6e6e6));
index f18cf9d955954678a9c7d6a070f27cfcf3437804..08620a3c3d7c287fdc5e20cc9e81326ff3459dbe 100644 (file)
@@ -77,6 +77,7 @@
   font-size: @baseFontSize;
   line-height: @baseLineHeight;
   color: @grayDark;
+  text-align: center;
   text-shadow: 0 1px 1px rgba(255,255,255,.75);
   #gradient > .vertical-three-colors(@white, @white, 25%, darken(@white, 10%)); // Don't use .gradientbar() here since it does a three-color gradient
   border: 1px solid #ccc;