亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

css - How does the grid layout in ionic allow the content in each column with varying text content to be vertically centered?
給我你的懷抱
給我你的懷抱 2017-06-15 09:23:53
0
1
1517

Each column of data is generated by angular traversal
The effect is as follows:

Because the name text on the left side is slightly different, the data on the right side will be displayed upward. I have tried display: table-cell;
vertical-align: middle;, but it has no effect. I also tried using line. -height setting, but it doesn’t work either. Please give me some advice. Thank you!
The code structure is like this:
<ion-row *ngFor="let row of config.rows">

    <ion-col col-3>{{row.rowName}}</ion-col>  <!-- 左側(cè)名稱 -->
    <ion-col *ngFor="let col of row.cols">{{col.data.value}}</ion-col>  <!-- 右側(cè)數(shù)據(jù) -->

</ion-row>
The three columns of data on the right are generated by unified traversal

Using ionic's align-self-center, I found that there is a problem with the frame lines of the table. Please solve it

<ion-row *ngFor="let row of config.rows">

    <ion-col col-3> {{row.rowName}}</ion-col>
    <ion-col align-self-center>
      <ion-row>
        <ion-col *ngFor="let col of row.cols">{{col.data.value}}
        </ion-col>
      </ion-row>
    </ion-col>

</ion-row>

給我你的懷抱
給我你的懷抱

reply all(1)
巴扎黑

display:flex; align-items:center

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template