Skip to content

Commit b00f489

Browse files
author
Joran De Braekeleer
committed
127705: Reduce margins on input fields
1 parent 6212e3f commit b00f489

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

src/app/shared/form/builder/ds-dynamic-form-ui/ds-dynamic-form-control-container.component.scss

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,9 @@
4040
.col-form-label {
4141
padding-top: 0;
4242
padding-bottom: 0;
43-
margin-bottom: 0.5rem;
43+
margin-bottom: 0.25rem;
44+
}
45+
46+
label {
47+
margin-bottom: 0.25rem;
4448
}

src/app/shared/form/builder/ds-dynamic-form-ui/models/list/dynamic-list.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
[formGroupName]="model.id"
88
[ngClass]="model.layout.element?.control">
99
@for (columnItems of items; track columnItems) {
10-
<div class="col-sm ms-3">
10+
<div class="col-sm">
1111
@for (item of columnItems; track item) {
1212
<div class="custom-control custom-checkbox">
1313
<input type="checkbox" class="custom-control-input"
@@ -43,7 +43,7 @@
4343
[ngClass]="model.layout.element?.control"
4444
(change)="onChange($event)">
4545
@for (columnItems of items; track columnItems) {
46-
<div class="col-sm ms-3">
46+
<div class="col-sm">
4747
@for (item of columnItems; track item) {
4848
<div class="custom-control custom-radio">
4949
<input type="radio" class="custom-control-input"

0 commit comments

Comments
 (0)