Browse Source

fix width | bottom margin on form

merge-requests/49/head
JetUp iMac 3 3 years ago
parent
commit
9b873bbe06
  1. 2
      src/containers/Ips/components/Form/index.tsx
  2. 6
      src/scss/component/btn.scss
  3. 1
      src/scss/component/form.scss

2
src/containers/Ips/components/Form/index.tsx

@ -35,7 +35,7 @@ export const AddIpForm = (props: IProps) => { @@ -35,7 +35,7 @@ export const AddIpForm = (props: IProps) => {
<ButtonToolbar
className="form__add-IP"
>
<Button color="primary" type="submit">Зберегти</Button>
<Button style={{width: 152}} color="primary" type="submit">Зберегти</Button>
</ButtonToolbar>
</form>
)

6
src/scss/component/btn.scss

@ -421,9 +421,9 @@ @@ -421,9 +421,9 @@
margin-top: 0;
}
&:last-child {
margin-bottom: -10px;
}
// &:last-child {
// margin-bottom: -10px;
// }
&.btn-toolbar--center {
& > * {

1
src/scss/component/form.scss

@ -159,6 +159,7 @@ @@ -159,6 +159,7 @@
}
.form__add-IP {
margin-top: 0px;
margin-bottom: 20px;
}
.form__half {
width: calc(50% - 15px);

Loading…
Cancel
Save