[bugfix] Step: fit small screen

This commit is contained in:
陈嘉涵 2019-05-05 10:25:18 +08:00
parent 2c3b48ffcd
commit 2ef74bd236
2 changed files with 5 additions and 2 deletions

View File

@ -26,7 +26,7 @@
&:last-child { &:last-child {
position: absolute; position: absolute;
right: 10px; right: 1px;
width: auto; width: auto;
.van-step__title { .van-step__title {
@ -54,6 +54,10 @@
transform: translate3d(-50%, 0, 0); transform: translate3d(-50%, 0, 0);
display: inline-block; display: inline-block;
margin-left: 3px; margin-left: 3px;
@media(max-width: 321px) {
font-size: 11px;
}
} }
.van-step__line { .van-step__line {

View File

@ -10,7 +10,6 @@
.van-steps__items { .van-steps__items {
display: flex; display: flex;
margin: 0 0 10px; margin: 0 0 10px;
overflow: hidden;
position: relative; position: relative;
padding-bottom: 22px; padding-bottom: 22px;