ios - iphone 和 ipad 问题 - 引导卡底部的空白
问题描述
我使用引导卡。它们在浏览器和 android 设备中看起来不错,但在 ipad 和 iphone 中它们有问题。卡片的高度增加,卡片底部出现空白。您可以检查 2 个屏幕截图以查看问题。 iphone截图
<div class="row" id="cardview">
<div class="col-md-6 col-sm-12 col-xxl-4">
<div class="card card-custom gutter-b card-stretch">
<div class="card-body">
...
</div>
</div>
</div>
.card.card-custom.card-stretch {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: stretch !important;
-ms-flex-align: stretch !important;
align-items: stretch !important;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
height: 100%;
}
解决方案
推荐阅读
- swift - 使用 firebase 的丰富推送通知并在 ios 设备上使用 FCM 发送推送通知
- r - ggplot Barplot 仅更改 ONE 条的大小
- deep-learning - 通过斯坦福核心 NLP 使用 RNN 进行情感分析
- python - Django 数组字段外键
- c# - Can we control the [Setup] method execution before [Test] Method Execution in Selenium N unit
- c++ - Copy trivially copyable types using temporary storage areas: is it allowed?
- java - Android Studio 应用程序可以运行,但有时在其他设备上会出错
- javascript - FlatList converting single item to an array
- java - How to avoid if statements java7 or make code more readable
- xml - 有效的 XML 字符