This commit is contained in:
2025-03-28 10:48:50 +08:00
parent 168895b5ac
commit c689574b2c
6 changed files with 189 additions and 2 deletions

View File

@@ -16,7 +16,29 @@ $primary-color: #2D5CF6;
.tui-alert-box {
border-radius: 16rpx !important;
overflow: hidden;
.tui-alert-content {
padding: 40rpx 32rpx !important;
}
}
.tui-actionsheet {
padding-bottom: calc(24rpx + constant(safe-area-inset-bottom));
padding-bottom: calc(24rpx + env(safe-area-inset-bottom));
}
.ellipsis-1 {
display: -webkit-box; /* 创建一个伸缩容器 */
-webkit-box-orient: vertical; /* 设置伸缩容器的方向为垂直 */
-webkit-line-clamp: 1; /* 限制显示的行数为2行 */
overflow: hidden; /* 超出内容隐藏 */
text-overflow: ellipsis; /* 超出部分显示省略号 */
}
.ellipsis-2 {
display: -webkit-box; /* 创建一个伸缩容器 */
-webkit-box-orient: vertical; /* 设置伸缩容器的方向为垂直 */
-webkit-line-clamp: 2; /* 限制显示的行数为2行 */
overflow: hidden; /* 超出内容隐藏 */
text-overflow: ellipsis; /* 超出部分显示省略号 */
}