mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-24 18:36:20 +08:00
fix(Dialog): improve width and avoid text blurry (#2139)
This commit is contained in:
parent
9b203ba5e0
commit
8381b4c042
@ -3,12 +3,16 @@
|
|||||||
|
|
||||||
.van-dialog {
|
.van-dialog {
|
||||||
top: 45% !important;
|
top: 45% !important;
|
||||||
width: 85%;
|
width: 320px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
.theme(background-color, '@white');
|
.theme(background-color, '@white');
|
||||||
|
|
||||||
|
@media (max-width: 321px) {
|
||||||
|
width: 90%;
|
||||||
|
}
|
||||||
|
|
||||||
&__header {
|
&__header {
|
||||||
padding-top: 25px;
|
padding-top: 25px;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user