ソースを参照

Fix bootstrap 2 style error.

zhixin 11 年 前
コミット
b37a4a53a0
1 ファイル変更9 行追加2 行削除
  1. 9 2
      src/bootstrap-table.css

+ 9 - 2
src/bootstrap-table.css

@@ -46,12 +46,15 @@
 }
 }
 
 
 .fixed-table-body thead th .th-inner {
 .fixed-table-body thead th .th-inner {
-    position: absolute;
+    /*position: absolute;*/
     top: 0;
     top: 0;
     padding: 8px;
     padding: 8px;
     line-height: 22px;
     line-height: 22px;
     vertical-align: top;
     vertical-align: top;
     border-left: 1px solid #dddddd;
     border-left: 1px solid #dddddd;
+    overflow: hidden;
+    text-overflow: ellipsis;
+    white-space: nowrap;
 }
 }
 
 
 .fixed-table-body thead th:first-child .th-inner {
 .fixed-table-body thead th:first-child .th-inner {
@@ -97,7 +100,7 @@
 
 
 .fixed-table-toolbar .columns label {
 .fixed-table-toolbar .columns label {
     display: block;
     display: block;
-    padding: 0 20px;
+    padding: 3px 20px;
     clear: both;
     clear: both;
     font-weight: normal;
     font-weight: normal;
     line-height: 1.428571429;
     line-height: 1.428571429;
@@ -130,6 +133,10 @@
     vertical-align: middle;
     vertical-align: middle;
 }
 }
 
 
+.fixed-table-toolbar .dropdown-menu {
+    text-align: left;
+}
+
 /* support bootstrap 3 */
 /* support bootstrap 3 */
 .table thead>tr>th {
 .table thead>tr>th {
     padding: 0;
     padding: 0;