diff options
| author | Mark Otto <[email protected]> | 2013-02-08 08:24:10 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-02-08 08:24:10 -0800 |
| commit | 3eed90c18752df8b86c97afe90e2c75d55ff1637 (patch) | |
| tree | 6f7d1e64ab3235edddc9015c14160bcf98ac0508 /docs/assets/css | |
| parent | ab1dc25ffc7ed617ed32670b93fbd663e9d6bf1e (diff) | |
| download | bootstrap-3eed90c18752df8b86c97afe90e2c75d55ff1637.tar.xz bootstrap-3eed90c18752df8b86c97afe90e2c75d55ff1637.zip | |
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
Diffstat (limited to 'docs/assets/css')
| -rw-r--r-- | docs/assets/css/bootstrap.css | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index 66c192c03..01d6d23f7 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -848,6 +848,10 @@ table { border-spacing: 0; } +th { + text-align: left; +} + .table { width: 100%; margin-bottom: 20px; @@ -857,15 +861,10 @@ table { .table td { padding: 8px; line-height: 20px; - text-align: left; vertical-align: top; border-top: 1px solid #dddddd; } -.table th { - font-weight: bold; -} - .table thead th { vertical-align: bottom; } |
