mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-14 13:17:24 +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') }}
|
||||
input.form-control(type="number", v-model="task.everyX", min="0", required)
|
||||
| {{ repeatSuffix }}
|
||||
br
|
||||
template(v-if="task.frequency === 'weekly'")
|
||||
.form-check(
|
||||
v-for="(day, dayNumber) in dayMapping",
|
||||
.form-check-inline.weekday-check(
|
||||
v-for="(day, dayNumber) in ['su','m','t','w','th','f','s']",
|
||||
:key="dayNumber",
|
||||
)
|
||||
label.custom-control.custom-checkbox
|
||||
@@ -311,6 +312,11 @@ form(
|
||||
color: $blue-10;
|
||||
}
|
||||
}
|
||||
|
||||
.weekday-check {
|
||||
margin-left: 0px;
|
||||
width: 57px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user