Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 71025

Ion-grid align

$
0
0

@nicolas_hie wrote:

Hello there,

i’ve got some trouble with my grid:

this is the code:

 <ion-grid>
    <ion-row align-items-center>
      <ion-col col-2>
        <ion-list *ngFor="let item of data">
          <h1>{{item.positionCount}}</h1>
        </ion-list>
      </ion-col>
      <ion-col col-4>
        <ion-list *ngFor="let item of data">
          <button class="item-button" ion-item  (click)="itemSelected(item)">
            <h2>{{item.requestRecipientDisplayName}}</h2>
            <p>{{item.servicesDescription}}</p>
            <p>{{item.price==null? '' : item.price + ' EUR'}} </p>
          </button>
        </ion-list>
      </ion-col>
    </ion-row>
  </ion-grid>

I want, that the numbers on the left stand right before the buttons on the right, so the “1” in front of the “sheppard” and so on.

how can i do this?

thanks in advance

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 71025

Trending Articles


FLASHBACK WITH SIRASA FM AT GALGAMUWA 2022


Mp3 Download: Mdu - Mazola


Imitation gun was fired at motorist in Leicester road-rage incident


Ndebele names


MCKINNEY EMALINE “EMMA” OF WES...


Okra & Motia — The Workshop (Prod by Hammer)


Skint TV teen to be sentenced


Moondru Mudichu 19-09-2017 – Polimer tv Serial


YOSVANI JAMES Arrested by Miami-Dade County Corrections on Jan 10, 2017


Stories • Goddess Stepmom



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>