From 3556d5e7d193bd8564e8001ec3f7c5dcae07b2e9 Mon Sep 17 00:00:00 2001 From: neverland Date: Tue, 6 Feb 2018 14:14:56 +0800 Subject: [PATCH] [bugfix] Picker: style error in some andriod devices (#609) --- packages/vant-css/src/picker.css | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/packages/vant-css/src/picker.css b/packages/vant-css/src/picker.css index c24923b30..b2cabe9ad 100644 --- a/packages/vant-css/src/picker.css +++ b/packages/vant-css/src/picker.css @@ -7,8 +7,10 @@ background-color: $white; &__toolbar { + display: flex; height: 40px; line-height: 40px; + justify-content: space-between; } &__cancel, @@ -21,14 +23,6 @@ } } - &__cancel { - float: left; - } - - &__confirm { - float: right; - } - &__title { text-align: center; @mixin ellipsis; @@ -52,11 +46,11 @@ &-column { flex: 1; overflow: hidden; - font-size: 18px; + font-size: 16px; text-align: center; li { - padding: 0 10px; + padding: 0 5px; color: $gray-darker; @mixin ellipsis; }