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

View File

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