From 0a2fb1817f565cc79443e0bf03e893f815cab018 Mon Sep 17 00:00:00 2001 From: Benjy Cui Date: Sat, 22 Apr 2017 09:43:32 +0800 Subject: [PATCH] fix: vertical tab bar height should follow tabs height (#5809) * fix: vertical tab bar height should follow tabs height * docs: update demo for Tabs --- .../__tests__/__snapshots__/demo.test.js.snap | 307 ++++++++++-------- components/tabs/demo/slide.md | 55 +++- components/tabs/style/index.less | 6 + 3 files changed, 223 insertions(+), 145 deletions(-) diff --git a/components/tabs/__tests__/__snapshots__/demo.test.js.snap b/components/tabs/__tests__/__snapshots__/demo.test.js.snap index 1633da9ec..256eab6ff 100644 --- a/components/tabs/__tests__/__snapshots__/demo.test.js.snap +++ b/components/tabs/__tests__/__snapshots__/demo.test.js.snap @@ -853,157 +853,202 @@ exports[`renders ./components/tabs/demo/size.md correctly 1`] = ` `; exports[`renders ./components/tabs/demo/slide.md correctly 1`] = ` -
+
+ + +
+
- - - - - - - - -
-
-
- Content of tab 1 +
+ Content of tab 1 +
+