From f8a3e76849c6bf413733f5dd4f2827e7798f695a Mon Sep 17 00:00:00 2001 From: yutent Date: Wed, 31 May 2023 10:54:59 +0800 Subject: [PATCH] fixed --- src/tabs/index.js | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/tabs/index.js b/src/tabs/index.js index 2034d93..0f55186 100644 --- a/src/tabs/index.js +++ b/src/tabs/index.js @@ -43,7 +43,7 @@ class Tabs extends Component { flex-shrink: 0; display: flex; width: 100%; - height: 38px; + min-height: 38px; color: var(--color-dark-1); user-select: none; } @@ -155,11 +155,12 @@ class Tabs extends Component { } .navs { flex-direction: column; - } - .label { - margin: 0; - height: 38px; - padding: 0 16px; + + > .label { + margin: 0; + min-height: 38px; + padding: 0 16px; + } } .active-bar { width: 2px;