Skip to content

Commit fd73afe

Browse files
committed
fix: #539 reduce separation on search form
1 parent 6680189 commit fd73afe

File tree

1 file changed

+15
-10
lines changed

1 file changed

+15
-10
lines changed
Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,31 @@
1-
<form [formGroup]="reportForm" (ngSubmit)="onSubmit()">
1+
<form class="form-inline" [formGroup]="reportForm" (ngSubmit)="onSubmit()">
22

3-
<div class="form-group row">
4-
<label class="col-12 col-md-2 col-form-label my-1">Start date:</label>
5-
<div class="col-12 col-sm-6 col-md-3 my-1">
3+
<div class="form-group">
4+
<label>Start date:</label>
5+
<div>
66
<app-input-date
77
formControlName="startDate"
88
id="startDate"
99
required="true"
1010
></app-input-date>
1111
</div>
12+
</div>
13+
14+
<div class="form-group" style="width: 3rem"></div>
1215

13-
<label class="col-12 col-md-2 col-form-label my-1">End date:</label>
14-
<div class="col-12 col-sm-6 col-md-3 my-1">
16+
<div class="form-group">
17+
<label>End date:</label>
18+
<div>
1519
<app-input-date
1620
formControlName="endDate"
1721
id="endDate"
1822
required="true"
1923
></app-input-date>
2024
</div>
21-
22-
<div class="col-12 col-md-2 my-1">
23-
<button type="submit" class="btn btn-primary">Search</button>
24-
</div>
2525
</div>
26+
27+
<div class="form-group" style="width: 3rem"></div>
28+
29+
<button type="submit" class="btn btn-primary">Search</button>
30+
2631
</form>

0 commit comments

Comments
 (0)