diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index 83e16a613c..e625405e23 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -1147,7 +1147,7 @@ th { .table-condensed thead > tr > td, .table-condensed tbody > tr > td, .table-condensed tfoot > tr > td { - padding: 4px 5px; + padding: 5px; } .table-bordered { diff --git a/less/tables.less b/less/tables.less index 9d39ad39f5..3a546917c4 100644 --- a/less/tables.less +++ b/less/tables.less @@ -25,7 +25,7 @@ th { > tr { > th, > td { - padding: 8px; + padding: @table-cell-padding; line-height: @line-height-base; vertical-align: top; border-top: 1px solid @table-border-color; @@ -69,7 +69,7 @@ th { > tr { > th, > td { - padding: 4px 5px; + padding: @table-condensed-cell-padding; } } } diff --git a/less/variables.less b/less/variables.less index e01d3062d1..fdd5929db6 100644 --- a/less/variables.less +++ b/less/variables.less @@ -81,6 +81,9 @@ // Tables // ------------------------- +@table-cell-padding: 8px; +@table-condensed-cell-padding: 5px; + @table-bg: transparent; // overall background-color @table-bg-accent: #f9f9f9; // for striping @table-bg-hover: #f5f5f5; // for hover