File tree 1 file changed +14
-14
lines changed
site/src/pages/WorkspaceSettingsPage/WorkspaceSchedulePage 1 file changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -340,11 +340,23 @@ export const WorkspaceScheduleForm: FC<
340
340
</ Stack >
341
341
342
342
< 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
+ >
344
349
{ Language . daysOfWeekLabel }
345
350
</ FormLabel >
346
351
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
+ >
348
360
{ checkboxes . map ( ( checkbox ) => (
349
361
< FormControlLabel
350
362
control = {
@@ -422,15 +434,3 @@ export const ttlShutdownAt = (formTTL: number): string => {
422
434
. humanize ( ) } ${ Language . ttlCausesShutdownAfterStart } .`;
423
435
}
424
436
} ;
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
- } ) ) ;
You can’t perform that action at this time.
0 commit comments