浏览代码

DateTimePicker: fix hidden last item of sidebar (#7567)

* 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
DuLinRain 7 年之前
父节点
当前提交
1d90390fa5
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      packages/theme-default/src/date-picker/date-picker.css

+ 3 - 1
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;
     }