Skip to content

feat: Add selected template link at the template select field #1918

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
May 31, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Change workspace schedule inputs to contained
  • Loading branch information
BrunoQuaresma committed May 31, 2022
commit 91becd13bec6fb4a918b7c168d40e84d7aa3c9f4
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,6 @@ export const WorkspaceScheduleForm: FC<WorkspaceScheduleFormProps> = ({
}}
label={Language.startTimeLabel}
type="time"
variant="standard"
/>

<TextField
Expand All @@ -195,7 +194,6 @@ export const WorkspaceScheduleForm: FC<WorkspaceScheduleFormProps> = ({
shrink: true,
}}
label={Language.timezoneLabel}
variant="standard"
/>

<FormControl component="fieldset" error={Boolean(form.errors.monday)}>
Expand Down Expand Up @@ -232,7 +230,6 @@ export const WorkspaceScheduleForm: FC<WorkspaceScheduleFormProps> = ({
inputProps={{ min: 0, step: 1 }}
label={Language.ttlLabel}
type="number"
variant="standard"
/>

<FormFooter onCancel={onCancel} isLoading={form.isSubmitting || isLoading} />
Expand Down
10 changes: 10 additions & 0 deletions site/src/theme/overrides.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,5 +95,15 @@ export const getOverrides = (palette: PaletteOptions) => {
border: `1px solid ${palette.divider}`,
},
},
MuiFormHelperText: {
contained: {
marginLeft: 0,
marginRight: 0,
},

marginDense: {
marginTop: 8,
},
},
}
}