From 75b50e9731340672225f72b59016fde5810207ac Mon Sep 17 00:00:00 2001 From: afc163 Date: Tue, 10 Jan 2017 14:03:04 +0800 Subject: [PATCH] wider the selection column and expand column of Table --- components/table/demo/expand-children.md | 1 - components/table/style/index.less | 10 ++++------ 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/components/table/demo/expand-children.md b/components/table/demo/expand-children.md index 206b9fb68c..49ece808c1 100644 --- a/components/table/demo/expand-children.md +++ b/components/table/demo/expand-children.md @@ -34,7 +34,6 @@ const columns = [{ title: 'Address', dataIndex: 'address', key: 'address', - width: '30%', }]; const data = [{ diff --git a/components/table/style/index.less b/components/table/style/index.less index 9b9ff1dfec..1c9c6f972b 100644 --- a/components/table/style/index.less +++ b/components/table/style/index.less @@ -132,9 +132,11 @@ } &-thead > tr > th.@{table-prefix-cls}-selection-column, - &-tbody > tr > td.@{table-prefix-cls}-selection-column { + &-tbody > tr > td.@{table-prefix-cls}-selection-column, + &-expand-icon-th, + &-row-expand-icon-cell { text-align: center; - width: 40px; + width: 48px; } &-header { @@ -406,10 +408,6 @@ } } - &-expand-icon-th { - width: 40px; - } - &-row { &-expand-icon { cursor: pointer;