hide header from time-only picker (#14736)
This commit is contained in:
parent
47d9a147e6
commit
b181bd8d78
|
@ -30,3 +30,11 @@ h2 span.identifier {
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
opacity: 0.6;
|
opacity: 0.6;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.time-only-picker thead {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.time-only-picker tbody td {
|
||||||
|
width: 200px;
|
||||||
|
}
|
||||||
|
|
|
@ -151,6 +151,10 @@
|
||||||
mousedown: $.proxy(this.mousedown, this)
|
mousedown: $.proxy(this.mousedown, this)
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if (this.maxView == 1) {
|
||||||
|
this.picker.addClass('time-only-picker');
|
||||||
|
}
|
||||||
|
|
||||||
if (this.wheelViewModeNavigation) {
|
if (this.wheelViewModeNavigation) {
|
||||||
if ($.fn.mousewheel) {
|
if ($.fn.mousewheel) {
|
||||||
this.picker.on({mousewheel: $.proxy(this.mousewheel, this)});
|
this.picker.on({mousewheel: $.proxy(this.mousewheel, this)});
|
||||||
|
|
Loading…
Reference in New Issue