From defa5bb8de0b1b47bb33c0749440dfd7442b1cb7 Mon Sep 17 00:00:00 2001
From: elforjani13 <39470382+elforjani13@users.noreply.github.com>
Date: Mon, 24 Jan 2022 01:44:46 +0200
Subject: [PATCH] feat(warehouse): add warehouse fields.
---
.../BranchFormDialog/BranchFormFields.js | 6 ++--
.../pages/Branches/BranchFormDialog.scss | 33 ++++++++++---------
2 files changed, 20 insertions(+), 19 deletions(-)
diff --git a/src/containers/Dialogs/BranchFormDialog/BranchFormFields.js b/src/containers/Dialogs/BranchFormDialog/BranchFormFields.js
index 90eae49f9..fcebeb72e 100644
--- a/src/containers/Dialogs/BranchFormDialog/BranchFormFields.js
+++ b/src/containers/Dialogs/BranchFormDialog/BranchFormFields.js
@@ -43,7 +43,7 @@ function BranchFormFields() {
intent={inputIntent({ error, touched })}
inline={true}
helperText={}
- className={'form-group--branch_address_1'}
+ className={'form-group--branch_address'}
>
}
- className={'form-group--branch_address_2'}
+ className={'form-group--branch_address'}
>
}
>
diff --git a/src/style/pages/Branches/BranchFormDialog.scss b/src/style/pages/Branches/BranchFormDialog.scss
index b10bea737..9dd06954f 100644
--- a/src/style/pages/Branches/BranchFormDialog.scss
+++ b/src/style/pages/Branches/BranchFormDialog.scss
@@ -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;
}