Parcourir la source

add div for smoothing animations

utsushiiro il y a 7 ans
Parent
commit
d5531f6bf1
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  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">