From 6995456bf8904d30c348143ab809e2892aa26647 Mon Sep 17 00:00:00 2001 From: zombiej Date: Fri, 30 Aug 2019 14:24:05 +0800 Subject: [PATCH] fix: Safari tab content width not correct --- components/tabs/style/index.less | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/tabs/style/index.less b/components/tabs/style/index.less index ee9ddaab9533..adcbd67b7d59 100644 --- a/components/tabs/style/index.less +++ b/components/tabs/style/index.less @@ -245,8 +245,9 @@ // Create an empty element to avoid margin collapsing // https://github.com/ant-design/ant-design/issues/18103 &-content::before { - display: table; + display: block; content: ''; + overflow: hidden; } // Horizontal Content