From be65cf075579ac1be3b30d30701f8d1881b2b7d4 Mon Sep 17 00:00:00 2001 From: yutent Date: Thu, 27 Apr 2023 17:25:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dtabs=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E7=9A=84=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- src/tabs/index.js | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index c10735b..2dfb791 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@bd/ui", - "version": "0.1.8", + "version": "0.1.9", "description": "", "files": [ "dist/*" diff --git a/src/tabs/index.js b/src/tabs/index.js index 3438ca4..41259ef 100644 --- a/src/tabs/index.js +++ b/src/tabs/index.js @@ -48,6 +48,7 @@ class Tabs extends Component { .header { position: relative; + flex-shrink: 0; display: flex; width: 100%; height: 38px; @@ -60,6 +61,7 @@ class Tabs extends Component { } .content { + overflow: hidden; flex: 1; }