Skip to content

Commit

Permalink
DateTimePicker: fix hidden last item of sidebar (#7567)
Browse files Browse the repository at this point in the history
* 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 (#7567)

* Update picker-panel.css

remove the previous fix after the review of  #7567(#7567)

* Update date-picker.css

* Update picker-panel.css
  • Loading branch information
DuLinRain authored and Leopoldthecoder committed Oct 23, 2017
1 parent 0099a3f commit 1d90390
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/theme-default/src/date-picker/date-picker.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 1d90390

Please sign in to comment.