mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-25 11:40:04 +08:00
code style
This commit is contained in:
parent
d47324f6c6
commit
3d975e4495
@ -12,7 +12,7 @@ class AntTag extends React.Component {
|
||||
}
|
||||
close(e) {
|
||||
var dom = React.findDOMNode(this);
|
||||
addEventListenerOnce(dom,transitionEndEvent, function () {
|
||||
addEventListenerOnce(dom, transitionEndEvent, function () {
|
||||
dom.remove();
|
||||
});
|
||||
dom.style.width = dom.offsetWidth + 'px';
|
||||
|
@ -72,7 +72,7 @@
|
||||
background: @error-color;
|
||||
}
|
||||
|
||||
&-close{
|
||||
&-close {
|
||||
transform: scale(0);
|
||||
width: 0 !important;
|
||||
opacity: 0 !important;
|
||||
|
Loading…
Reference in New Issue
Block a user