Fix Date Range FlatPickr defaulting to 1970 for All time now default to current month

This commit is contained in:
johnnyq
2026-08-15 13:04:55 -04:00
parent 2375e69f2d
commit 72c037c581
2 changed files with 25 additions and 3 deletions

View File

@@ -508,11 +508,17 @@ a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):not(.page-li
border-radius: .25rem;
}
.itflow-fp-range:hover,
.itflow-fp-range:focus {
.itflow-fp-range:focus,
.itflow-fp-range.active {
color: #fff;
background-color: var(--itflow-accent, #007bff);
border-color: var(--itflow-accent, #007bff);
}
/* The preset currently in effect - without this there is nothing on screen
telling you which range you are looking at once the calendar is open. */
.itflow-fp-range.active {
font-weight: 600;
}
/* --- Toast fade ---------------------------------------------------------
Bootstrap's .fade is a .15s transition, which next to toastr's old 1s