tabs组件移除内边距,交由外部自行处理
parent
c50b7414ef
commit
4a91c3978e
|
@ -61,7 +61,6 @@ class Tabs extends Component {
|
|||
|
||||
.content {
|
||||
flex: 1;
|
||||
padding: 16px 0;
|
||||
}
|
||||
|
||||
.label {
|
||||
|
@ -71,7 +70,7 @@ class Tabs extends Component {
|
|||
justify-content: space-between;
|
||||
max-width: 120px;
|
||||
margin: 0 16px;
|
||||
padding: 0 3px;
|
||||
padding: 0 6px;
|
||||
--size: 16px;
|
||||
cursor: pointer;
|
||||
|
||||
|
@ -163,9 +162,6 @@ class Tabs extends Component {
|
|||
.navs {
|
||||
flex-direction: column;
|
||||
}
|
||||
.content {
|
||||
padding: 0 16px;
|
||||
}
|
||||
.label {
|
||||
margin: 0;
|
||||
height: 38px;
|
||||
|
@ -204,10 +200,6 @@ class Tabs extends Component {
|
|||
css`
|
||||
:host([type='folder']),
|
||||
:host([type='card']) {
|
||||
.content {
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
.active-bar {
|
||||
display: none;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue