fix(reminders): flatpickr styling improvements
This commit is contained in:
@ -166,6 +166,8 @@ function updateDataAndMaybeClose(toggle) {
|
||||
function formatReminder(reminder: TaskReminderModel) {
|
||||
|
||||
const period = secondsToPeriod(reminder.relativePeriod)
|
||||
|
||||
// TODO: 0 does not work
|
||||
|
||||
if (period.amount === 0) {
|
||||
switch (reminder.relativeTo) {
|
||||
@ -267,9 +269,4 @@ function translateUnit(amount: number, unit: PeriodUnit): string {
|
||||
.currently-active {
|
||||
color: var(--primary);
|
||||
}
|
||||
|
||||
:deep(.flatpickr-calendar) {
|
||||
margin: 0 auto;
|
||||
box-shadow: none;
|
||||
}
|
||||
</style>
|
||||
|
Reference in New Issue
Block a user