From 294db783e15a11b0471368b2a2746477d81723f0 Mon Sep 17 00:00:00 2001 From: afc163 Date: Wed, 20 Dec 2017 22:01:25 +0800 Subject: [PATCH] Fix table size of fixed column, close #8660 --- components/table/style/size.less | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/components/table/style/size.less b/components/table/style/size.less index 47e5929693..00e5cf1d2f 100644 --- a/components/table/style/size.less +++ b/components/table/style/size.less @@ -7,7 +7,11 @@ > .@{table-prefix-cls}-header > table, > .@{table-prefix-cls}-body > table, > .@{table-prefix-cls}-scroll > .@{table-prefix-cls}-header > table, - > .@{table-prefix-cls}-scroll > .@{table-prefix-cls}-body > table { + > .@{table-prefix-cls}-scroll > .@{table-prefix-cls}-body > table, + > .@{table-prefix-cls}-fixed-left > .@{table-prefix-cls}-header > table, + > .@{table-prefix-cls}-fixed-right > .@{table-prefix-cls}-header > table, + > .@{table-prefix-cls}-fixed-left > .@{table-prefix-cls}-body-outer > .@{table-prefix-cls}-body-inner > table, + > .@{table-prefix-cls}-fixed-right > .@{table-prefix-cls}-body-outer > .@{table-prefix-cls}-body-inner > table { > .@{table-prefix-cls}-thead > tr > th, > .@{table-prefix-cls}-tbody > tr > td { padding: 12px 8px; @@ -34,7 +38,11 @@ > .@{table-prefix-cls}-header > table, > .@{table-prefix-cls}-body > table, > .@{table-prefix-cls}-scroll > .@{table-prefix-cls}-header > table, - > .@{table-prefix-cls}-scroll > .@{table-prefix-cls}-body > table { + > .@{table-prefix-cls}-scroll > .@{table-prefix-cls}-body > table, + > .@{table-prefix-cls}-fixed-left > .@{table-prefix-cls}-header > table, + > .@{table-prefix-cls}-fixed-right > .@{table-prefix-cls}-header > table, + > .@{table-prefix-cls}-fixed-left > .@{table-prefix-cls}-body-outer > .@{table-prefix-cls}-body-inner > table, + > .@{table-prefix-cls}-fixed-right > .@{table-prefix-cls}-body-outer > .@{table-prefix-cls}-body-inner > table { border: 0; padding: 0 8px; > .@{table-prefix-cls}-thead > tr > th,