From 2d7a9501679db4d96613165091333e25ab0eb9c2 Mon Sep 17 00:00:00 2001 From: zombiej Date: Wed, 3 Jun 2020 10:51:31 +0800 Subject: [PATCH] docs: Fix site tabs centered ref #24694 --- site/theme/static/demo.less | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/site/theme/static/demo.less b/site/theme/static/demo.less index faf512f244..81d82cf33a 100644 --- a/site/theme/static/demo.less +++ b/site/theme/static/demo.less @@ -217,8 +217,8 @@ .highlight { position: relative; - .ant-tabs-nav-scroll { - text-align: center; + .ant-tabs-nav-list { + margin: 0 auto; } pre {