[Improvement] Dialog: optimize style without content (#1233)

This commit is contained in:
neverland
2018-06-06 20:18:32 +08:00
committed by GitHub
parent 74aa001bb6
commit 14522d52bd
5 changed files with 75 additions and 14 deletions

View File

@@ -11,23 +11,17 @@
border-radius: 4px;
background-color: $white;
transform: translate3d(-50%, -50%, 0);
&__header {
padding: 15px 0 0;
text-align: center;
}
&__content {
&::after {
border-bottom-width: 1px;
}
}
&__message {
line-height: 1.5;
padding: 15px 20px;
&--withtitle {
&--has-title {
color: $gray-dark;
font-size: 14px;
}
@@ -46,6 +40,10 @@
}
}
&__header + &__footer {
margin-top: 15px;
}
.van-button {
border: 0;
}