【发布时间】:2018-10-13 23:31:22
【问题描述】:
我有一个表格设计,其中离子行中的两个 ion-col 具有不同的行数。但我需要在中间对齐两个内容。什么是最好的解决方案?
<ion-content padding>
<ion-grid>
<ion-row>
....other cols....
<ion-col col-6>
<label>Date of Audit:
<h2>01/30/18<br/>
1:06:50<small>PM UTC</small></h2>
</label>
</ion-col>
<ion-col col-6 text-center center class="overall-score">
<label>Overall Score:
<h1>40%</h1>
</label>
</ion-col>
</ion-row>
</ion-grid>
</ion-content>
【问题讨论】:
-
你是说垂直中间?还是水平居中?
-
请垂直