From 2be285d2367e9dd59f225f762131b97260c0adff Mon Sep 17 00:00:00 2001 From: afc163 Date: Wed, 22 Jun 2016 11:48:11 +0800 Subject: [PATCH] remove nowrap in fixed Table, close #2130 --- components/table/demo/fixed-columns-header.md | 2 +- components/table/demo/fixed-columns.md | 2 +- components/table/style/index.less | 9 --------- 3 files changed, 2 insertions(+), 11 deletions(-) diff --git a/components/table/demo/fixed-columns-header.md b/components/table/demo/fixed-columns-header.md index 87250e95c9..60c660b13e 100644 --- a/components/table/demo/fixed-columns-header.md +++ b/components/table/demo/fixed-columns-header.md @@ -43,7 +43,7 @@ for (let i = 0; i < 100; i++) { } function App() { - return ; + return
; } ReactDOM.render(, mountNode); diff --git a/components/table/demo/fixed-columns.md b/components/table/demo/fixed-columns.md index 8da44d1beb..2cd50b2a9b 100644 --- a/components/table/demo/fixed-columns.md +++ b/components/table/demo/fixed-columns.md @@ -45,7 +45,7 @@ const data = [{ }]; function App() { - return
; + return
; } ReactDOM.render(, mountNode); diff --git a/components/table/style/index.less b/components/table/style/index.less index a49d47136b..3dce34ad95 100644 --- a/components/table/style/index.less +++ b/components/table/style/index.less @@ -423,15 +423,6 @@ } } - &-fixed-left, - &-fixed-right, - &-scroll { - th, - td { - white-space: nowrap; - } - } - &-fixed-left &-fixed, &-fixed-right &-fixed { border-radius: 0;