title: flexbox div text not align inline with child element
body: <p>Consider the following snippet:</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>div {
    display: flex;
    flex: 0 0 45%;
    max-width: 45%;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div&gt;Lorem ipsum dolor sit amet, &lt;strong&gt;dolor sit&lt;/strong&gt;tempor incididunt ut la.tempor incididunt ut la.tempor incididunt ut la.tempor incididunt ut la.tempor incididunt ut la.&lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  <p>currently it looks like
  <a href="https://i.stack.imgur.com/Ax101.png" rel="nofollow noreferrer">enter image description here</a></p>
  <p>but I want to align
  <a href="https://i.stack.imgur.com/AwOE3.png" rel="nofollow noreferrer">enter image description here</a></p>