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;