mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 06:07:21 +01:00
Redesign: Display weekdays in correct order (#8945)
* fix(dailies): display weekdays in correct order * fix(style): display weekday checkboxes inline
This commit is contained in:
@@ -76,9 +76,10 @@ form(
|
|||||||
label(v-once) {{ $t('repeatEvery') }}
|
label(v-once) {{ $t('repeatEvery') }}
|
||||||
input.form-control(type="number", v-model="task.everyX", min="0", required)
|
input.form-control(type="number", v-model="task.everyX", min="0", required)
|
||||||
| {{ repeatSuffix }}
|
| {{ repeatSuffix }}
|
||||||
|
br
|
||||||
template(v-if="task.frequency === 'weekly'")
|
template(v-if="task.frequency === 'weekly'")
|
||||||
.form-check(
|
.form-check-inline.weekday-check(
|
||||||
v-for="(day, dayNumber) in dayMapping",
|
v-for="(day, dayNumber) in ['su','m','t','w','th','f','s']",
|
||||||
:key="dayNumber",
|
:key="dayNumber",
|
||||||
)
|
)
|
||||||
label.custom-control.custom-checkbox
|
label.custom-control.custom-checkbox
|
||||||
@@ -311,6 +312,11 @@ form(
|
|||||||
color: $blue-10;
|
color: $blue-10;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.weekday-check {
|
||||||
|
margin-left: 0px;
|
||||||
|
width: 57px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user