From 6f3bbce39b143a8bdfeb9abb441452a03a879c65 Mon Sep 17 00:00:00 2001 From: afc163 Date: Thu, 17 Dec 2015 12:39:26 +0800 Subject: [PATCH] update tabs demo --- components/tabs/demo/card-top.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/tabs/demo/card-top.md b/components/tabs/demo/card-top.md index 16b1167b42..8caffc3a06 100644 --- a/components/tabs/demo/card-top.md +++ b/components/tabs/demo/card-top.md @@ -27,14 +27,14 @@ ReactDOM.render( padding: 24px; } -.card-container .ant-tabs-content { +.card-container > .ant-tabs-card .ant-tabs-content { background: #fff; padding: 16px; height: 120px; margin-top: -16px; } -.card-container .ant-tabs-tabs-bar, -.card-container .ant-tabs.ant-tabs-card .ant-tabs-tab-active { +.card-container > .ant-tabs-card .ant-tabs-tabs-bar, +.card-container > .ant-tabs-card .ant-tabs-tab-active { border-color: #fff; } ````