Skip to content

Commit d4732ea

Browse files
esteecodeshanastasovkdinev
authored
fix(title change): section title changed to reactive forms (#12668)
* fix(title change): section title changed to reactive forms * fix(buttons margin): add margin to primary buttons * fix(flex basis): add flex basis to columns --------- Co-authored-by: Hristo <[email protected]> Co-authored-by: Konstantin Dinev <[email protected]>
1 parent 66a0552 commit d4732ea

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

src/app/date-range/date-range.sample.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ <h5>Template-driven form</h5>
118118
</form>
119119
</div>
120120
<div class="range-sample-column">
121-
<h5>Template-driven form</h5>
121+
<h5>Reactive form</h5>
122122
<div class="radio-container">
123123
<igx-radio *ngFor="let option of updateOnOptions" value="{{option}}" [(ngModel)]="updateOn"
124124
(change)="updateOnChange($event)">

src/app/date-range/date-range.sample.scss

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,13 @@ $range-sample-space: 16px;
77
.range-sample-column {
88
display: flex;
99
flex-direction: column;
10+
flex-basis: 50%;
1011
padding: $range-sample-space;
1112
border-right: 1px solid #ddd;
1213

13-
> * {
14-
margin-bottom: 16px;
15-
16-
&:last-of-type {
17-
margin-bottom: 0;
14+
.date-picker-sample-buttons {
15+
button {
16+
margin: 0.5rem;
1817
}
1918
}
2019

0 commit comments

Comments
 (0)