Skip to content

Commit 6e953d1

Browse files
authored
Revert "fix: #539 reduce separation on search form"
1 parent eb502c9 commit 6e953d1

File tree

1 file changed

+10
-15
lines changed

1 file changed

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

3-
<div class="form-group">
4-
<label>Start date:</label>
5-
<div>
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">
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>
1512

16-
<div class="form-group">
17-
<label>End date:</label>
18-
<div>
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">
1915
<app-input-date
2016
formControlName="endDate"
2117
id="endDate"
2218
required="true"
2319
></app-input-date>
2420
</div>
25-
</div>
26-
27-
<div class="form-group" style="width: 3rem"></div>
28-
29-
<button type="submit" class="btn btn-primary">Search</button>
3021

22+
<div class="col-12 col-md-2 my-1">
23+
<button type="submit" class="btn btn-primary">Search</button>
24+
</div>
25+
</div>
3126
</form>

0 commit comments

Comments
 (0)