Skip to content

Commit 83d9d80

Browse files
committed
emotion: WorkspaceScheduleForm
1 parent 739245f commit 83d9d80

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

site/src/pages/WorkspaceSettingsPage/WorkspaceSchedulePage/WorkspaceScheduleForm.tsx

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -340,11 +340,23 @@ export const WorkspaceScheduleForm: FC<
340340
</Stack>
341341

342342
<FormControl component="fieldset" error={Boolean(form.errors.monday)}>
343-
<FormLabel className={styles.daysOfWeekLabel} component="legend">
343+
<FormLabel
344+
css={{
345+
fontSize: 12,
346+
}}
347+
component="legend"
348+
>
344349
{Language.daysOfWeekLabel}
345350
</FormLabel>
346351

347-
<FormGroup className={styles.daysOfWeekOptions}>
352+
<FormGroup
353+
css={(theme) => ({
354+
display: "flex",
355+
flexDirection: "row",
356+
flexWrap: "wrap",
357+
paddingTop: theme.spacing(0.5),
358+
})}
359+
>
348360
{checkboxes.map((checkbox) => (
349361
<FormControlLabel
350362
control={
@@ -422,15 +434,3 @@ export const ttlShutdownAt = (formTTL: number): string => {
422434
.humanize()} ${Language.ttlCausesShutdownAfterStart}.`;
423435
}
424436
};
425-
426-
const useStyles = makeStyles((theme) => ({
427-
daysOfWeekLabel: {
428-
fontSize: 12,
429-
},
430-
daysOfWeekOptions: {
431-
display: "flex",
432-
flexDirection: "row",
433-
flexWrap: "wrap",
434-
paddingTop: theme.spacing(0.5),
435-
},
436-
}));

0 commit comments

Comments
 (0)