From 113c5e126421109a4b619256e90e3b326de7ed72 Mon Sep 17 00:00:00 2001 From: afc163 Date: Mon, 28 Dec 2015 21:41:42 +0800 Subject: [PATCH] fix align of nested data table, react-component/table#25 --- package.json | 2 +- style/components/table.less | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 6b88850342..fef9cfbacd 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ "rc-slider": "~3.3.0", "rc-steps": "~1.4.1", "rc-switch": "~1.3.1", - "rc-table": "~3.7.0", + "rc-table": "~3.7.1", "rc-tabs": "~5.5.0", "rc-time-picker": "~1.0.0", "rc-tooltip": "~3.3.0", diff --git a/style/components/table.less b/style/components/table.less index f6fa0ace0a..564e5b4877 100644 --- a/style/components/table.less +++ b/style/components/table.less @@ -285,6 +285,13 @@ &-collapsed:after { content: '+'; } + + &-expand-icon&-spaced { + visibility: hidden; + &:after { + content: '.'; + } + } } tr&-expanded-row { &,