Browse Source

fix table bordered style

pull/1701/head
afc163 9 years ago
parent
commit
0cc03e9427
  1. 2
      package.json
  2. 6
      style/components/table.less

2
package.json

@ -58,7 +58,7 @@
"rc-slider": "~3.3.0", "rc-slider": "~3.3.0",
"rc-steps": "~1.4.1", "rc-steps": "~1.4.1",
"rc-switch": "~1.3.2", "rc-switch": "~1.3.2",
"rc-table": "~3.11.1", "rc-table": "~3.11.4",
"rc-tabs": "~5.8.0", "rc-tabs": "~5.8.0",
"rc-time-picker": "~1.1.0", "rc-time-picker": "~1.1.0",
"rc-tooltip": "~3.3.1", "rc-tooltip": "~3.3.1",

6
style/components/table.less

@ -19,6 +19,8 @@
max-width: 100%; max-width: 100%;
border-collapse: separate; border-collapse: separate;
text-align: left; text-align: left;
border-radius: @border-radius-base;
overflow: hidden;
} }
th { th {
@ -71,6 +73,10 @@
} }
} }
&.@{table-prefix-cls}-bordered tfoot tr {
top: 0;
}
tr.@{table-prefix-cls}-row-selected { tr.@{table-prefix-cls}-row-selected {
background: #fafafa; background: #fafafa;
} }

Loading…
Cancel
Save