title: Styled ordered list multi-row alignment
body: <p>I am using CSS counters to style OL.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="false" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.custom-ol {
    margin-left: 0;
    padding-right: 0;
    list-style-type: none;
  }
  .custom-ol li {
    counter-increment: step-counter;
  }
  .custom-ol li::before {
    content: counter(step-counter);
    margin-right: 5px;
    font-size: 80%;
    background-color: rgb(200, 200, 200);
    color: white;
    font-weight: bold;
    padding: 5px 8px;
    border-radius: 10px;
    line-height: 26px;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;ol class="custom-ol"&gt;
    &lt;li&gt;Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah&lt;/li&gt;
    &lt;li&gt;Blah Blah Blah&lt;/li&gt;
    &lt;li&gt;Blah Blah Blah Blah Blah Blah Blah Blah Blah&lt;/li&gt;
    &lt;li&gt;Blah Blah&lt;/li&gt;
  &lt;/ol&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>The styling itself works fine, however I ran into styling issue in the situation when list item is longer than the parent container width: the <code>li</code>'s second string wraps around <code>li::before</code> element rather than being on the same level as the first string.</p>
  
  <p><img src="https://i.stack.imgur.com/0K8g6.png" alt="enter image description here"></p>
  
  <p>How do I make it to act like a regular <code>ol</code> item would?</p>
  
  <p>I tried to add <code>margin-bottom</code> property to <code>li::before</code> but it didn't do anything to get the correct alignment.</p>