소스 검색

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;
     }