]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fix component margin and padding values to use @line-height-computed 7845/head
authorAaron <aaron.ricketson@gmail.com>
Fri, 10 May 2013 15:21:27 +0000 (09:21 -0600)
committerAaron <aaron.ricketson@gmail.com>
Fri, 10 May 2013 15:21:27 +0000 (09:21 -0600)
less/accordion.less
less/breadcrumbs.less
less/code.less
less/mixins.less
less/pager.less
less/pagination.less
less/tables.less

index 064377d05b3698039e9bafad0ccce4685b36e074..59765f15402f4d5abe097f5b318ef5d4f3b3de8e 100644 (file)
@@ -5,7 +5,7 @@
 
 // Parent container
 .accordion {
-  margin-bottom: @line-height-base;
+  margin-bottom: @line-height-computed;
 }
 
 // Group == heading + body
index 87a6f0e371798dea4a078a2e12a60a7397966e44..2fe8217a36603a4fb6aed187c80419d62e1b99d0 100644 (file)
@@ -5,7 +5,7 @@
 
 .breadcrumb {
   padding: 8px 15px;
-  margin: 0 0 @line-height-base;
+  margin: 0 0 @line-height-computed;
   list-style: none;
   background-color: #f5f5f5;
   border-radius: @border-radius-base;
index d9ddbc3a448e446a453fb4abe1a6474ef31a6e4f..f1bc0a0cdbbd6ae14c6108e5ae66dcd1cd4bfd72 100644 (file)
@@ -25,8 +25,8 @@ code {
 // Blocks of code
 pre {
   display: block;
-  padding: ((@line-height-base - 1) / 2);
-  margin: 0 0 (@line-height-base / 2);
+  padding: ((@line-height-computed - 1) / 2);
+  margin: 0 0 (@line-height-computed / 2);
   font-size: (@font-size-base - 1); // 14px to 13px
   line-height: @line-height-base;
   word-break: break-all;
@@ -40,7 +40,7 @@ pre {
 
   // Make prettyprint styles more spaced out for readability
   &.prettyprint {
-    margin-bottom: @line-height-base;
+    margin-bottom: @line-height-computed;
   }
 
   // Account for some code outputs that place code tags in pre tags
index 48e2073c5824b5ee72703bb0d6d780ca5f45f2d6..dc46be904ee5dbd3bab005f63a0c5c972bbc7588 100644 (file)
 // Dividers (basically an hr) within dropdowns and nav lists
 .nav-divider(@top: #e5e5e5, @bottom: #fff) {
   height: 2px; // 1px for background, one for border
-  margin: ((@line-height-base / 2) - 1) 0;
+  margin: ((@line-height-computed / 2) - 1) 0;
   overflow: hidden;
   background-color: @top;
   border-bottom: 1px solid @bottom;
index cc1947a91fcfadae656462489ebb34b18186e394..0b2fcf7cbb8c66fe92c40419c8a511430f5b51b9 100644 (file)
@@ -4,7 +4,7 @@
 
 
 .pager {
-  margin: @line-height-base 0;
+  margin: @line-height-computed 0;
   list-style: none;
   text-align: center;
   .clearfix();
index bb44fa8cf9aca6fd84b08d5eb476de942a2d1f1d..ec1eef27f92e1145cc873638c2b3104244e73e1c 100644 (file)
@@ -3,7 +3,7 @@
 // --------------------------------------------------
 .pagination {
   display: inline-block;
-  margin: @line-height-base 0;
+  margin: @line-height-computed 0;
   border-radius: @border-radius-base;
 }
 .pagination > li {
index 5c8fe82ad85fcf3c8ab35fd73a64199218fb2ed6..fa5fd554b22b38ca7b90a33728ddc39b79569a5d 100644 (file)
@@ -17,7 +17,7 @@ th {
 
 .table {
   width: 100%;
-  margin-bottom: @line-height-base;
+  margin-bottom: @line-height-computed;
   // Cells
   thead > tr > th,
   tbody > tr > th,