From: Sun Lee Date: Fri, 16 Jun 2017 19:31:20 +0000 (-0400) Subject: Fix Select max-height and overflow X-Git-Tag: 3.0.0~6^2 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=7440ae22b87a3673ef84315420cd4df550ad93fb;p=github%2Ffretlink%2Ftime-picker.git Fix Select max-height and overflow --- 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 {