浏览代码

Fix #261: add namespace to '.table' style.

zhixin 11 年之前
父节点
当前提交
10db6095b4
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/bootstrap-table.css

+ 3 - 3
src/bootstrap-table.css

@@ -1,4 +1,4 @@
-.table {
+.bootstrap-table .table {
     margin-bottom: 0 !important;
     border-bottom: 1px solid #dddddd;
     border-collapse: collapse !important;
@@ -207,13 +207,13 @@
     border-bottom-right-radius: 4px;
 }
 
-.table>thead>tr>th {
+.bootstrap-table .table>thead>tr>th {
     vertical-align: bottom;
     border-bottom: 2px solid #ddd;
 }
 
 /* support bootstrap 3 */
-.table thead>tr>th {
+.bootstrap-table .table thead>tr>th {
     padding: 0;
     margin: 0;
 }