mirror of
https://github.com/Tencent/weui.git
synced 2026-03-13 08:02:03 +08:00
fix: 修复图片预览组件在刘海屏下安全间距的问题以及多个文字颜色问题
This commit is contained in:
33
dist/style/weui.css
vendored
33
dist/style/weui.css
vendored
File diff suppressed because one or more lines are too long
2
dist/style/weui.min.css
vendored
2
dist/style/weui.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -71,6 +71,7 @@
|
||||
overflow: hidden;
|
||||
word-break:normal;
|
||||
word-wrap: break-word;
|
||||
color:rgba(0,0,0,.9);
|
||||
}
|
||||
.weui-form-preview__btn {
|
||||
position: relative;
|
||||
|
||||
@@ -60,6 +60,7 @@
|
||||
.weui-textarea-counter{
|
||||
color: @weuiTextColorTips;
|
||||
text-align: right;
|
||||
font-size:14px;
|
||||
.weui-cell_warn &{
|
||||
color: @weuiTextColorWarn;
|
||||
}
|
||||
|
||||
@@ -27,27 +27,32 @@
|
||||
background-color: #000000;
|
||||
z-index: 1000;
|
||||
}
|
||||
.weui-gallery__img {
|
||||
.weui-gallery__img,
|
||||
.weui-gallery__opr {
|
||||
position: absolute;
|
||||
top: constant(safe-area-inset-top);
|
||||
top: env(safe-area-inset-top);
|
||||
right: constant(safe-area-inset-right);
|
||||
right: env(safe-area-inset-right);
|
||||
bottom: calc(@weuiGalleryOprHeight ~"+ constant(safe-area-inset-bottom)");
|
||||
bottom: calc(@weuiGalleryOprHeight ~"+ env(safe-area-inset-bottom)");
|
||||
left:0;
|
||||
left: constant(safe-area-inset-left);
|
||||
left: env(safe-area-inset-left);
|
||||
right:0;
|
||||
right: constant(safe-area-inset-right);
|
||||
right: env(safe-area-inset-right);
|
||||
}
|
||||
.weui-gallery__img {
|
||||
top:0;
|
||||
top: constant(safe-area-inset-top);
|
||||
top: env(safe-area-inset-top);
|
||||
bottom:@weuiGalleryOprHeight;
|
||||
bottom: calc(@weuiGalleryOprHeight ~"+ constant(safe-area-inset-bottom)");
|
||||
bottom: calc(@weuiGalleryOprHeight ~"+ env(safe-area-inset-bottom)");
|
||||
width:100%;
|
||||
background: center center no-repeat;
|
||||
background-size: contain;
|
||||
}
|
||||
.weui-gallery__opr {
|
||||
position: absolute;
|
||||
right: constant(safe-area-inset-right);
|
||||
right: env(safe-area-inset-right);
|
||||
bottom:0;
|
||||
bottom: constant(safe-area-inset-bottom);
|
||||
bottom: env(safe-area-inset-bottom);
|
||||
left: constant(safe-area-inset-left);
|
||||
left: env(safe-area-inset-left);
|
||||
background-color: #0D0D0D;
|
||||
color: #FFFFFF;
|
||||
line-height: @weuiGalleryOprHeight;
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
background-color:#FFFFFF;
|
||||
|
||||
.weui-footer,.weui-footer__link{
|
||||
font-size:12px;
|
||||
font-size:14px;
|
||||
}
|
||||
.weui-agree{
|
||||
padding:0;
|
||||
|
||||
Reference in New Issue
Block a user