tabs组件移除内边距,交由外部自行处理

master
yutent 2023-04-27 09:18:47 +08:00
parent c50b7414ef
commit 4a91c3978e
1 changed files with 1 additions and 9 deletions

View File

@ -61,7 +61,6 @@ class Tabs extends Component {
.content { .content {
flex: 1; flex: 1;
padding: 16px 0;
} }
.label { .label {
@ -71,7 +70,7 @@ class Tabs extends Component {
justify-content: space-between; justify-content: space-between;
max-width: 120px; max-width: 120px;
margin: 0 16px; margin: 0 16px;
padding: 0 3px; padding: 0 6px;
--size: 16px; --size: 16px;
cursor: pointer; cursor: pointer;
@ -163,9 +162,6 @@ class Tabs extends Component {
.navs { .navs {
flex-direction: column; flex-direction: column;
} }
.content {
padding: 0 16px;
}
.label { .label {
margin: 0; margin: 0;
height: 38px; height: 38px;
@ -204,10 +200,6 @@ class Tabs extends Component {
css` css`
:host([type='folder']), :host([type='folder']),
:host([type='card']) { :host([type='card']) {
.content {
padding: 16px;
}
.active-bar { .active-bar {
display: none; display: none;
} }