2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-30 15:24:08 +03:00

resolve problem with nested tables having double borders

This commit is contained in:
Mark Otto
2011-10-07 23:53:32 -07:00
parent d74dee5e0f
commit 9991f3faa1
5 changed files with 59 additions and 5 deletions
+5 -2
View File
@@ -6,7 +6,7 @@
* http://www.apache.org/licenses/LICENSE-2.0
*
* Designed and built with all the love in the world @twitter by @mdo and @fat.
* Date: Tue Oct 4 01:16:04 PDT 2011
* Date: Fri Oct 7 23:53:08 PDT 2011
*/
/* Reset.less
* Props to Eric Meyer (meyerweb.com) for his CSS reset file. We're using an adapted version here that cuts out some of the reset HTML elements we will never need here (i.e., dfn, samp, etc).
@@ -1083,9 +1083,12 @@ table td {
table th + th, table td + td {
border-left: 1px solid #ddd;
}
table tr + tr td {
table tr td {
border-top: 1px solid #ddd;
}
table tr:first-child td {
border-top: 0;
}
table tbody tr:first-child td:first-child {
-webkit-border-radius: 4px 0 0 0;
-moz-border-radius: 4px 0 0 0;