mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-12-22 17:50:22 -05:00
Allow the dashboard edit-item date picker to select the month and year via dropdown, and clean up the styles on mobile
This commit is contained in:
parent
0b3a322bf3
commit
7fcdf75a61
2 changed files with 19 additions and 1 deletions
4
resources/assets/js/dashboard.js
vendored
4
resources/assets/js/dashboard.js
vendored
|
@ -406,7 +406,9 @@ function editItemInit() {
|
|||
$(this).pickadate({
|
||||
format: "yyyy-mm-dd",
|
||||
formatSubmit: "yyyy-mm-dd",
|
||||
clear: false
|
||||
clear: false,
|
||||
selectYears: true,
|
||||
selectMonths: true
|
||||
});
|
||||
});
|
||||
|
||||
|
|
16
resources/assets/sass/dashboard.scss
vendored
16
resources/assets/sass/dashboard.scss
vendored
|
@ -350,6 +350,22 @@ body {
|
|||
|
||||
.picker__holder {
|
||||
overflow-y: hidden;
|
||||
|
||||
.picker__button--today {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.picker__select--year, .picker__select--month, .picker__month, .picker__day, .picker__weekday, .picker__footer {
|
||||
@media (max-width: $screen-xs-max) {
|
||||
font-size: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
.picker__select--year, .picker__select--month {
|
||||
width: auto;
|
||||
height: 1.5em;
|
||||
padding: 0px;
|
||||
}
|
||||
}
|
||||
|
||||
label {
|
||||
|
|
Loading…
Reference in a new issue