From 0f60283cc931bbe29ee8abbed19f0b019266dc2a Mon Sep 17 00:00:00 2001 From: XTY <^@xty.dev> Date: Thu, 8 Aug 2019 14:54:05 +0800 Subject: [PATCH] fix: remove unwanted vertical space at the top of Tabs (#18125) * fix: remove unwanted vertical space at the top of Tabs * fix: correct misspellings and change wording --- components/tabs/style/index.less | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/tabs/style/index.less b/components/tabs/style/index.less index 096a47fa13..ee9ddaab95 100644 --- a/components/tabs/style/index.less +++ b/components/tabs/style/index.less @@ -242,10 +242,10 @@ } } - // Create a empty element to aovid margin merge + // Create an empty element to avoid margin collapsing // https://github.com/ant-design/ant-design/issues/18103 &-content::before { - display: inline-block; + display: table; content: ''; }