title: How to make the contents of an ion-item fill the space available?
body: <p>I have a fairly simple template for ion-item cards:</p>
  
  <pre><code>&lt;ion-list&gt;
      &lt;div class="card"&gt;
  
          &lt;ion-item ng-repeat="item in items"
                      item="item"
                      ui-sref="main.tabs.create({id: item.id})"&gt;
  
              &lt;div class="item item-avatar item-fill-space"&gt;
                  &lt;img data-ng-src="data:image/jpg;base64,{{ item.image[0] }}" data-err-src="../../../../../res/icons/android/icon-48-mdpi.png"&gt;
                  &lt;h2&gt;{{ item.title }}&lt;/h2&gt;
              &lt;/div&gt;
  
              &lt;div class="item item-body item-fill-space"&gt;
                  {{ item.message }}
              &lt;/div&gt;
          &lt;/ion-item&gt;
      &lt;/div&gt;
      &lt;ion-infinite-scroll ng-if="!noMoreItemsAvailable" on-infinite="loadMore()" distance="10%"&gt;&lt;/ion-infinite-scroll&gt;
  &lt;/ion-list&gt;
  </code></pre>
  
  <p>
  </p>
  
  <p>It's appearing like this on the screen:</p>
  
  <p><a href="https://i.stack.imgur.com/XMMpG.png" rel="noreferrer"><img src="https://i.stack.imgur.com/XMMpG.png" alt="enter image description here"></a></p>
  
  <p>The horizontal line in the middle isn't reaching the full width of the container (with respect to the margin on the opposite side). How can I fix this?</p>
  
  <p>I've tried adding the class</p>
  
  <pre><code>.item-fill-space {
      width: 100%;
  }
  </code></pre>
  
  <p>but it doesn't work unless I specify a width of more than 100%, but that's a bit hacky.</p>