title: Table has huge space when is child of div flex
body: <p>I'm trying to put an HTML table on the right side of a canvas and for some reason, it has huge spaces between rows.</p>
  <p>I've tried the solution <a href="https://stackoverflow.com/questions/68069948/html-table-with-spaces">here</a>
  and <a href="https://stackoverflow.com/questions/30159797/unwanted-huge-space-below-td">here</a> but none of them solved the problem.</p>
  <p>Here's my current code:</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-html lang-html prettyprint-override"><code>&lt;html&gt;
  
  &lt;body style="margin: 0px"&gt;
    &lt;div style="display: flex"&gt;
      &lt;canvas style="background-color: blue;"&gt;&lt;/canvas&gt;
      &lt;table&gt;
        &lt;tbody&gt;
          &lt;tr&gt;
            &lt;td&gt;hi&lt;/td&gt;
            &lt;td&gt;l&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
            &lt;td&gt;lol&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/table&gt;
    &lt;/div&gt;
  &lt;/body&gt;
  
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>