From 1d90390fa57494203db37497a833c9a68c62fb73 Mon Sep 17 00:00:00 2001 From: DuLinRain Date: Mon, 23 Oct 2017 10:54:12 +0800 Subject: [PATCH] DateTimePicker: fix hidden last item of sidebar (#7567) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update picker-panel.css fix "last item been overlapped by footbar bug" when sidebar items are two more。even overflow can not resolve this problem, it is not the same thing. the details you can see https://dulinrain.github.io/elementui/ElementUI%E4%B9%8B%E6%97%B6%E9%97%B4%E6%8F%92%E4%BB%B6Bug.html * Update date-picker.css reply to the reviewe of #7567 (https://github.com/ElemeFE/element/pull/7567) * Update picker-panel.css remove the previous fix after the review of #7567(https://github.com/ElemeFE/element/pull/7567) * Update date-picker.css * Update picker-panel.css --- packages/theme-default/src/date-picker/date-picker.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/theme-default/src/date-picker/date-picker.css b/packages/theme-default/src/date-picker/date-picker.css index 9bc4eaa2ec..01cd238a69 100644 --- a/packages/theme-default/src/date-picker/date-picker.css +++ b/packages/theme-default/src/date-picker/date-picker.css @@ -16,7 +16,9 @@ &.has-time { min-width: 324px; } - + &.has-time .el-picker-panel__body-wrapper { + position: relative; + } .el-picker-panel__content { min-width: 224px; }