title: Bootstrap 4 Float-Right not working when line breaks
body: <p>This is the code:</p>
  
  <pre><code>    &lt;div class="container"&gt;
      &lt;div class="w-100 row"&gt;
          &lt;div class="d-none d-md-block col-md-1"&gt;&lt;/div&gt;
          &lt;div class="col-md-10 row"&gt;
              &lt;div class="col-md-3  border"&gt;
                  &lt;span class="float-md-right"&gt;Float right
                  &lt;/span&gt;
              &lt;/div&gt;
  
              &lt;div class="col-md-3 border"&gt;
                  Align to left
              &lt;/div&gt;
  
              &lt;div class="col-md-3  border"&gt;
                  &lt;span class="float-right"&gt;Float right
                  &lt;/span&gt;
              &lt;/div&gt;
  
              &lt;div class="col-md-3 border"&gt;
                  Align to left
              &lt;/div&gt;
  
              &lt;div class="col-md-3  border"&gt;
                  &lt;span class="float-right h3"&gt;Not floating rightside:
                  &lt;/span&gt;
              &lt;/div&gt;
              &lt;div class="col-md-3 border"&gt;
                  Align to left
              &lt;/div&gt;
          &lt;div class="d-none d-md-block col-md-1"&gt;&lt;/div&gt;
          &lt;/div&gt;
          &lt;/div&gt;
  </code></pre>
  
  <p>Please see this example here: <a href="https://jsfiddle.net/4p81h0mo/" rel="nofollow noreferrer">https://jsfiddle.net/4p81h0mo/</a></p>
  
  <p>Please view it on a large screen. </p>
  
  <p>In the 2nd row there is a cell with text that wraps to a new line, but the space after first line is reserved so it doesn't float to right.</p>
  
  <p>I have also tried d-flex + ml-auto, which only works when there is no line break too.</p>