title: How to match Input to height of container?
body: <p>My goal is to have a reusable number field with customizable increment/decrement buttons. However, my issue is that I cannot make the input field correctly fill the height of the container. </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.wrapper {
    height: 100px;
    width: 100px;
    display: flex;
    flex-direction: row;
    outline: auto;
    outline-color: red;
  }
  
  input {
    height: 100%;
    width: 75%;
    text-align: center;
  }
  
  .button-container { 
    width: 25%;
    display: flex;
    flex-direction: column;
  }
  
  button {
    height: 50%;
  }
  
  input::-webkit-outer-spin-button,
  input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="wrapper"&gt;
    &lt;input type="number"&gt;
    &lt;div class="button-container"&gt;
      &lt;button&gt;+&lt;/button&gt;
      &lt;button&gt;-&lt;/button&gt;
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>My results on the most recent version of Chrome:</p>
  
  <p><a href="https://i.stack.imgur.com/PrH2z.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PrH2z.png" alt="enter image description here"></a></p>
  
  <p>I was unable to find any questions here addressing this specific issue. Any input would be appreciated.</p>