Browse Source

update rc-tabs to fix 2 issue:

1. fix non-transform support env ink bar not correct
2. fix tabBarGutter not work in vertical mode. ref #12968
pull/13120/head
zombiej 6 years ago
parent
commit
d20b5fe9f5
  1. 5
      components/tabs/style/index.less
  2. 2
      package.json

5
components/tabs/style/index.less

@ -305,6 +305,7 @@
.@{tab-prefix-cls}-ink-bar {
width: 2px;
top: 0;
left: auto;
height: auto;
bottom: auto;
@ -385,12 +386,12 @@
.@{tab-prefix-cls}-top .@{tab-prefix-cls}-ink-bar-animated,
.@{tab-prefix-cls}-bottom .@{tab-prefix-cls}-ink-bar-animated {
transition: transform .3s @ease-in-out, width .3s @ease-in-out;
transition: transform .3s @ease-in-out, width .3s @ease-in-out, left .3s @ease-in-out;
}
.@{tab-prefix-cls}-left .@{tab-prefix-cls}-ink-bar-animated,
.@{tab-prefix-cls}-right .@{tab-prefix-cls}-ink-bar-animated {
transition: transform .3s @ease-in-out, height .3s @ease-in-out;
transition: transform .3s @ease-in-out, height .3s @ease-in-out, top .3s @ease-in-out;
}
.no-flex,

2
package.json

@ -76,7 +76,7 @@
"rc-steps": "~3.3.0",
"rc-switch": "~1.8.0",
"rc-table": "~6.3.4",
"rc-tabs": "~9.4.6",
"rc-tabs": "~9.5.1",
"rc-time-picker": "~3.4.0",
"rc-tooltip": "~3.7.3",
"rc-tree": "~1.14.6",

Loading…
Cancel
Save