fix collapse arrow style

pull/11999/head
HeskeyBaozi 7 years ago committed by 偏右
parent ab2c866f0c
commit 016c1cfe92

@ -29,7 +29,7 @@ export default class Collapse extends React.Component<CollapseProps, any> {
renderExpandIcon = () => {
return (
<Icon type="right" className={`arrow`} svgClassName={`arrow-svg`} />
<Icon type="right" className={`arrow`} />
);
}

@ -42,9 +42,10 @@
display: inline-block;
line-height: 46px;
vertical-align: top;
top: 0;
top: 50%;
transform: translateY(-50%);
left: @padding-md;
&-svg {
& svg {
.collapse-close();
transition: transform 0.24s;
}
@ -88,7 +89,7 @@
}
& > &-item > &-header[aria-expanded="true"] {
.arrow-svg {
svg {
.collapse-open();
}
}

Loading…
Cancel
Save