[improvement] Dialog: centered in screen (#3905)
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
.van-dialog {
|
||||
position: fixed;
|
||||
top: 50%;
|
||||
top: 45%;
|
||||
left: 50%;
|
||||
width: @dialog-width;
|
||||
overflow: hidden;
|
||||
@@ -16,6 +16,7 @@
|
||||
&__header {
|
||||
padding-top: @dialog-header-padding-top;
|
||||
font-weight: @dialog-header-font-weight;
|
||||
line-height: @dialog-header-line-height;
|
||||
text-align: center;
|
||||
|
||||
&--isolated {
|
||||
|
||||
Reference in New Issue
Block a user