angular - 不同设备上的 Ionic 5 响应行
问题描述
在 Ionic 5 中,如何在不同的设备中创建响应行?我有 3 行,我想在设备中调整行高。就像我想添加更多行一样,行高会自动调整以适应屏幕。
<ion-grid fixed="true">
<ion-row>
<ion-col class="text-header">
Present your QR Code to gain more points to the store upon purchasing product
</ion-col>
</ion-row>
<ion-row>
<ion-col class="qr-code">
this is the second row
</ion-col>
</ion-row>
<ion-row>
<ion-col class="text-footer">
this is the third row
</ion-col>
</ion-row>
</ion-grid>
解决方案
推荐阅读
- javascript - Javascript:将日期字符串转换为纪元
- c++ - 将 hh:mm:ss.zzz 时间 QString 转换为毫秒的单行函数?
- c++ - 为什么`sizeof`运算符和delete []运算符可以使用数组大小信息,但在将数组作为参数传递给函数时却不能
- ssl - 如何在不将 SSL 证书设置到具有现有 SSL 证书设置的域的情况下从 .app 域(需要 SSL)重定向?
- java - 如何递归地将两个降序链表合并为一个升序链表?
- c++ - 理解递归代码的遍历
- python - Django 不检测测试在 0.000 秒内运行 0 个测试
- excel - 如何将 Apache POI 函数传递给 Groovy 脚本中的 Java Comparator 类
- ios - UILabel word wrapping 在数字符号而不是符号之前
- python - python 正则表达式从多行花括号中查找字符串