From 2ef74bd236f9fe9d11740c4c4822b93bbb8e9e34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=98=89=E6=B6=B5?= Date: Sun, 5 May 2019 10:25:18 +0800 Subject: [PATCH] [bugfix] Step: fit small screen --- packages/step/index.less | 6 +++++- packages/steps/index.less | 1 - 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/step/index.less b/packages/step/index.less index eec67aa46..53fee6117 100644 --- a/packages/step/index.less +++ b/packages/step/index.less @@ -26,7 +26,7 @@ &:last-child { position: absolute; - right: 10px; + right: 1px; width: auto; .van-step__title { @@ -54,6 +54,10 @@ transform: translate3d(-50%, 0, 0); display: inline-block; margin-left: 3px; + + @media(max-width: 321px) { + font-size: 11px; + } } .van-step__line { diff --git a/packages/steps/index.less b/packages/steps/index.less index 8fd232f17..447214795 100644 --- a/packages/steps/index.less +++ b/packages/steps/index.less @@ -10,7 +10,6 @@ .van-steps__items { display: flex; margin: 0 0 10px; - overflow: hidden; position: relative; padding-bottom: 22px;