title: Why is my input box overlapping its parent container?
body: <p>this is my code:</p>
  
  <pre><code>&lt;section className="createTodo-box"&gt; // parent
      &lt;div className="createTodo-inside"&gt; // child
         &lt;Input
           value={this.state.text}
           style={{ width: '200px' }}
           onChange={(e) =&gt; this.setState({ text: e.target.value })}
           type='text'
           placeholder='What needs to be done?'
         /&gt;
       &lt;Button onClick={() =&gt; this._confirm()} type="primary"&gt; Create &lt;/Button&gt;
     &lt;/div&gt; 
  &lt;/section&gt;
  </code></pre>
  
  <p>my css: </p>
  
  <pre><code>.createTodo-box {
      border: solid #C3C3C3 1px;
      width: 200px;
      margin: 25px;
      padding: 15px;
  }
  .createTodo-inside {
      padding: 15px;
  }
  </code></pre>
  
  <p>I tried using padding of 15px on the .createTodo-inside but my Input still overlaps on the right? <a href="https://i.stack.imgur.com/8OfxB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8OfxB.png" alt="enter image description here"></a>. </p>