소스 검색

add div for smoothing animations

utsushiiro 7 년 전
부모
커밋
d5531f6bf1
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/client/js/components/PageEditor/HandsontableModal.jsx

+ 2 - 2
src/client/js/components/PageEditor/HandsontableModal.jsx

@@ -114,8 +114,8 @@ export default class HandsontableModal extends React.Component {
             </Navbar.Form>
           </Navbar>
           <Collapse in={this.state.open}>
-            <div className="p-30">
-              <form action="">
+            <div> {/* This div is necessary for smoothing animations. (https://react-bootstrap.github.io/utilities/transitions/#transitions-collapse) */}
+              <form action="" className="p-4">
                 <FormGroup controlId="formControlsSelect">
                   <ControlLabel>Select Data Format</ControlLabel>
                   <FormControl componentClass="select" placeholder="select">