瀏覽代碼

fix(table): cell content does not wrap #210

vben 4 年之前
父節點
當前提交
ea9355398f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/components/Table/src/style/index.less

+ 1 - 1
src/components/Table/src/style/index.less

@@ -111,7 +111,7 @@
   .ant-table-tbody > tr > th,
   .ant-table-thead > tr > td,
   .ant-table-thead > tr > th {
-    white-space: nowrap;
+    white-space: pre;
   }
 
   .ant-table-row-cell-last {