hide header from time-only picker (#14736)

This commit is contained in:
Frédéric Péters 2017-04-11 10:16:32 +02:00
parent 47d9a147e6
commit b181bd8d78
2 changed files with 12 additions and 0 deletions

View File

@ -30,3 +30,11 @@ h2 span.identifier {
font-size: 1rem;
opacity: 0.6;
}
.time-only-picker thead {
display: none;
}
.time-only-picker tbody td {
width: 200px;
}

View File

@ -151,6 +151,10 @@
mousedown: $.proxy(this.mousedown, this)
});
if (this.maxView == 1) {
this.picker.addClass('time-only-picker');
}
if (this.wheelViewModeNavigation) {
if ($.fn.mousewheel) {
this.picker.on({mousewheel: $.proxy(this.mousewheel, this)});