feat(warehouse): add warehouse fields.

This commit is contained in:
elforjani13
2022-01-24 01:44:46 +02:00
committed by a.bouhuolia
parent 769d8fa548
commit defa5bb8de
2 changed files with 20 additions and 19 deletions

View File

@@ -43,7 +43,7 @@ function BranchFormFields() {
intent={inputIntent({ error, touched })} intent={inputIntent({ error, touched })}
inline={true} inline={true}
helperText={<ErrorMessage name="branch_address_1" />} helperText={<ErrorMessage name="branch_address_1" />}
className={'form-group--branch_address_1'} className={'form-group--branch_address'}
> >
<InputGroup <InputGroup
intent={inputIntent({ error, touched })} intent={inputIntent({ error, touched })}
@@ -61,7 +61,7 @@ function BranchFormFields() {
intent={inputIntent({ error, touched })} intent={inputIntent({ error, touched })}
inline={true} inline={true}
helperText={<ErrorMessage name="branch_address_2" />} helperText={<ErrorMessage name="branch_address_2" />}
className={'form-group--branch_address_2'} className={'form-group--branch_address'}
> >
<InputGroup <InputGroup
intent={inputIntent({ error, touched })} intent={inputIntent({ error, touched })}
@@ -75,7 +75,7 @@ function BranchFormFields() {
{/*------------ Branch Address City & Country-----------*/} {/*------------ Branch Address City & Country-----------*/}
<FormGroup <FormGroup
inline={true} inline={true}
className={'form-group--branch_address_city'} className={'form-group--branch_address'}
helperText={<ErrorMessage name="branch_address_2" />} helperText={<ErrorMessage name="branch_address_2" />}
> >
<ControlGroup> <ControlGroup>

View File

@@ -1,5 +1,5 @@
.dialog--branch-form { .dialog--branch-form {
width: 600px; width: 650px;
.bp3-dialog-body { .bp3-dialog-body {
.bp3-form-group { .bp3-form-group {
@@ -12,27 +12,28 @@
min-width: 150px; min-width: 150px;
} }
.bp3-form-content { .bp3-form-content {
width: 320px; width: 278px;
} }
} .bp3-control-group > * {
.form-group { flex-shrink: unset;
&--branch_address_city { padding-right: 5px;
.bp3-control-group > * { padding-left: 5px;
flex-shrink: unset;
padding-right: 5px;
padding-left: 5px;
&:first-child { &:first-child {
padding-left: 0; padding-left: 0;
} }
&:last-child { &:last-child {
padding-right: 0; padding-right: 0;
} }
}
&.form-group--branch_address {
.bp3-form-content {
width: 388px;
} }
} }
} }
} }
.bp3-dialog-footer { .bp3-dialog-footer {
padding-top: 10px; padding-top: 10px;
} }