title: HTML/CSS: How to avoid extra whitespace after using "white-space:normal"
body: <p>I have a simple table and in each row, I have multiple span tags. Each span can have text with different lengths(I just show the structure here):</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>.label {
  
    float: left;
    text-transform: uppercase;
    font-size: 12px;
    padding: 0.6em 1em;
    /*display: inline;
    padding: .2em .6em .3em;
    font-size: 80%;*/
    font-weight: normal;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25em;
    margin-right: 5px;
    margin-bottom: 5px;
  }
  
  .label-default2
  {
      background-color:#e8e8e8;
      color: #888;
  }
  
      .label-default2[href]:hover,
      .label-default2[href]:focus
      {
          background-color: #777;
      }
      
  .top2 {
      margin-top: 2px;
  }
  
  .left {
    float:left;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;table&gt;
   &lt;tbody&gt;
    &lt;tr&gt;
     &lt;small class="left top2"&gt;
      &lt;span class="label label-default2" style='white-space:normal; text-align:left;word-break:break-word;'&gt;
       Cura - Mlrettet SOSU-Helper
      &lt;/span&gt;
     &lt;/small&gt;
     &lt;small class="left top2"&gt;
      &lt;span class="label label-default2" style='white-space:normal; text-align:left;word-break:break-word;'&gt;
       Cura - Guided Borgerkonsulent og Visitator
      &lt;/span&gt;
     &lt;/small&gt;
    &lt;/tr&gt;
   &lt;/tbody&gt;
  &lt;/table&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>I almost get the result I want which is to move text to a new line if it is large. My only problem is now that I get some extra whitespace (in the gray area) as can been seen in the screenshot:
  <a href="https://i.stack.imgur.com/PCxhA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PCxhA.png" alt="enter image description here"></a></p>
  
  <p>And I'd like it to be like:</p>
  
  <p><a href="https://i.stack.imgur.com/7ESGu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7ESGu.png" alt="enter image description here"></a></p>
  
  <p>Is there any way I can get rid of the extra whitepsace ? Thanks in advance</p>