Browse Source

fix(tabs): centered prop is not working (#30106)

pull/30111/head
Kermit 4 years ago
committed by GitHub
parent
commit
1542820bc3
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      components/tabs/style/index.less
  2. 1
      components/tabs/style/position.less

2
components/tabs/style/index.less

@ -47,14 +47,12 @@
.@{tab-prefix-cls}-nav-list {
position: relative;
display: flex;
flex: 1 0 auto; // fix safari scroll problem
transition: transform @animation-duration-slow;
}
// >>>>>>>> Operations
.@{tab-prefix-cls}-nav-operations {
display: flex;
flex: 1 0 auto; // fix safari scroll problem
align-self: stretch;
&-hidden {

1
components/tabs/style/position.less

@ -146,6 +146,7 @@
.@{tab-prefix-cls}-nav-list,
.@{tab-prefix-cls}-nav-operations {
flex: 1 0 auto; // fix safari scroll problem
flex-direction: column;
}
}

Loading…
Cancel
Save