title: CSS float inside the list avoid unwanted padding
body: <p>In my list element I want to place the control buttons aside, from the left of the list item text. In order to do that I use a property <code>float: left;</code>, it does the job, but when there are more than one line in a list, every new line has a padding of a size of the previous floating block:</p>
  
  <p><a href="https://i.stack.imgur.com/NhVsO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NhVsO.png" alt="enter image description here"></a></p>
  
  <p>The list is based on Vue.js &amp; Bootstrap.
  My CSS/HTML code:</p>
  
  <pre><code>&lt;ul class="items"&gt;
     &lt;transition-group name="item"&gt;
        &lt;li v-for="item in items" :key="item.id" mode="out-in"&gt;
           &lt;span&gt;
              {{item.properties.NAME}}
           &lt;/span&gt;
           &lt;span style="float: left;"&gt;
              &lt;a href="#" class="btn btn-success btn-xs" @click="edit_item(item)"&gt;&lt;span class="fa fa-wrench"&gt;&lt;/span&gt;Update&lt;/a&gt;
              &lt;a href="#" class="btn btn-danger btn-xs" @click="confirm_delete_item(item)"&gt;&lt;span class="fa fa-trash-o"&gt;&lt;/span&gt;Delete&lt;/a&gt;
           &lt;/span&gt;
        &lt;/li&gt;
     &lt;/transition-group&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>The question is how to display buttons inside the list on the right/left side of the list just one under the other.</p>
  
  <p>The final result should be something like that:</p>
  
  <ul>
  <li>Item #1_____________________________________Update___Delete</li>
  <li>Item #2_____________________________________Update___Delete</li>
  </ul>