code style

This commit is contained in:
afc163 2015-08-19 17:50:20 +08:00
parent d47324f6c6
commit 3d975e4495
2 changed files with 2 additions and 2 deletions

View File

@ -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';

View File

@ -72,7 +72,7 @@
background: @error-color;
}
&-close{
&-close {
transform: scale(0);
width: 0 !important;
opacity: 0 !important;