修复tabs组件的样式

master
yutent 2023-04-27 17:25:40 +08:00
parent d71e889353
commit be65cf0755
2 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "@bd/ui", "name": "@bd/ui",
"version": "0.1.8", "version": "0.1.9",
"description": "", "description": "",
"files": [ "files": [
"dist/*" "dist/*"

View File

@ -48,6 +48,7 @@ class Tabs extends Component {
.header { .header {
position: relative; position: relative;
flex-shrink: 0;
display: flex; display: flex;
width: 100%; width: 100%;
height: 38px; height: 38px;
@ -60,6 +61,7 @@ class Tabs extends Component {
} }
.content { .content {
overflow: hidden;
flex: 1; flex: 1;
} }