From 3eed90c18752df8b86c97afe90e2c75d55ff1637 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Fri, 8 Feb 2013 08:24:10 -0800 Subject: Fixes #6837: Enable text alignment utility classes on tables * Removes text-align from td elements (no need to set that one) * Specifically sets th to text-align: left; at a global level (no longer within .table) to override browser defaults * Removes font-weight: bold; from th while we're at it since that's browser default already --- less/tables.less | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'less') diff --git a/less/tables.less b/less/tables.less index 59cb007cb..67f7cd765 100644 --- a/less/tables.less +++ b/less/tables.less @@ -9,7 +9,9 @@ table { border-collapse: collapse; border-spacing: 0; } - +th { + text-align: left; +} // BASELINE STYLES @@ -23,13 +25,9 @@ table { td { padding: 8px; line-height: @line-height-base; - text-align: left; vertical-align: top; border-top: 1px solid @table-border; } - th { - font-weight: bold; - } // Bottom align for column headings thead th { vertical-align: bottom; -- cgit v1.2.3