Skip to content

Commit

Permalink
feat(ui-study): update style of the variant creation dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
skamril committed Jul 10, 2024
1 parent 2623641 commit 400f3e9
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function CreateVariantDialog(props: Props) {

return (
<FormDialog
maxWidth="sm"
maxWidth="xs"
title={t("studies.createNewStudy")}
titleIcon={AddCircleIcon}
open={open}
Expand All @@ -68,7 +68,7 @@ function CreateVariantDialog(props: Props) {
config={{ defaultValues }}
>
{({ control }) => (
<Fieldset fieldWidth={550}>
<Fieldset fullFieldWidth>
<StringFE
label={t("variants.newVariant")}
name="name"
Expand All @@ -80,14 +80,14 @@ function CreateVariantDialog(props: Props) {
/>
<SelectFE
label={t("study.versionSource")}
name="sourceId"
variant="outlined"
options={sourceList.map((ver) => ({
label: ver.name,
value: ver.id,
}))}
name="sourceId"
control={control}
required
rules={{ required: true }}
/>
</Fieldset>
)}
Expand Down

0 comments on commit 400f3e9

Please sign in to comment.