-
- {/* Completion window (hours) */}
- Completion window (hours)
-
-
- {"Set a time window that task can't be completed before"}
-
-
+
{
@@ -615,14 +611,18 @@ const ChoreEdit = () => {
color={completionWindow !== -1 ? 'success' : 'neutral'}
variant={completionWindow !== -1 ? 'solid' : 'outlined'}
// endDecorator={points !== -1 ? 'On' : 'Off'}
- slotProps={{
- endDecorator: {
- sx: {
- minWidth: 24,
- },
- },
+ sx={{
+ mr: 2,
}}
/>
+
+ {/* Completion window (hours) */}
+ Completion window (hours)
+
+
+ {"Set a time window that task can't be completed before"}
+
+
{completionWindow != -1 && (
@@ -913,44 +913,89 @@ const ChoreEdit = () => {