From b77de58fa3b68436ad30030788dd8aa608c7e217 Mon Sep 17 00:00:00 2001 From: afc163 Date: Mon, 18 Apr 2016 18:46:05 +0800 Subject: [PATCH] improve TimePicker style --- style/components/timepicker/Panel.less | 1 + style/components/timepicker/Select.less | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/style/components/timepicker/Panel.less b/style/components/timepicker/Panel.less index 98d0991b1b..465d5e81cc 100644 --- a/style/components/timepicker/Panel.less +++ b/style/components/timepicker/Panel.less @@ -12,4 +12,5 @@ background-clip: padding-box; border: 1px solid #ccc; line-height: 1.5; + overflow: hidden; } diff --git a/style/components/timepicker/Select.less b/style/components/timepicker/Select.less index f09f39cbb7..5a0c9aadc5 100644 --- a/style/components/timepicker/Select.less +++ b/style/components/timepicker/Select.less @@ -44,6 +44,12 @@ user-select: none; transition: background 0.3s ease; + &:last-child:after { + content: ''; + height: 120px; + display: block; + } + &:hover { background: tint(@primary-color, 90%); }