From 7440ae22b87a3673ef84315420cd4df550ad93fb Mon Sep 17 00:00:00 2001 From: Sun Lee Date: Fri, 16 Jun 2017 15:31:20 -0400 Subject: Fix Select max-height and overflow --- assets/index/Select.less | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/index/Select.less b/assets/index/Select.less index 8bec4a0..ecef8a8 100644 --- a/assets/index/Select.less +++ b/assets/index/Select.less @@ -6,7 +6,8 @@ margin-left: -1px; box-sizing: border-box; width: 56px; - overflow: hidden; + max-height: 144px; + overflow-y: auto; position: relative; // Fix chrome weird render bug &-active { @@ -28,7 +29,6 @@ margin: 0; padding: 0; width: 100%; - max-height: 144px; } li { -- cgit v1.2.3