aboutsummaryrefslogtreecommitdiff
path: root/less/tables.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-02-10 23:07:32 -0800
committerMark Otto <[email protected]>2012-02-10 23:07:32 -0800
commitd7aefe67e3df78bde61eaa7ecab807bb03aeb1ef (patch)
treee4651bdb92a13d886fa3856c3248e1adf51f0e75 /less/tables.less
parentc10661cf5d5e84bf840c0f2404218c0bc08add27 (diff)
downloadbootstrap-d7aefe67e3df78bde61eaa7ecab807bb03aeb1ef.tar.xz
bootstrap-d7aefe67e3df78bde61eaa7ecab807bb03aeb1ef.zip
scope th bottom vertical-align to only thead, update code styles to include more comments in less file and scrollable option for pre tag
Diffstat (limited to 'less/tables.less')
-rw-r--r--less/tables.less7
1 files changed, 4 insertions, 3 deletions
diff --git a/less/tables.less b/less/tables.less
index cbc013aca..3a4066d71 100644
--- a/less/tables.less
+++ b/less/tables.less
@@ -25,14 +25,15 @@ table {
padding: 8px;
line-height: @baseLineHeight;
text-align: left;
+ vertical-align: top;
border-top: 1px solid #ddd;
}
th {
font-weight: bold;
- vertical-align: bottom;
}
- td {
- vertical-align: top;
+ // Bottom align for column headings
+ thead th {
+ vertical-align: bottom;
}
// Remove top border from thead by default
thead:first-child tr th,