File tree Expand file tree Collapse file tree 4 files changed +21
-14
lines changed
src/app/modules/activities-management Expand file tree Collapse file tree 4 files changed +21
-14
lines changed Original file line number Diff line number Diff line change 11@import ' ../../../../../styles/colors.scss' ;
22
33.activity-list {
4- overflow : auto ; display : inline-block ; width : 60 % ;
4+ overflow : auto ;
55}
Original file line number Diff line number Diff line change 11< h4 > Activities</ h4 >
22< hr />
3- < div style =" width: 60%; " >
3+ < div >
44
55 < form [formGroup] ="activityForm " (ngSubmit) ="onSubmit(activityForm.value) ">
6- < div class ="input-group input-group-sm mb-3 ">
7- < div class ="input-group-prepend ">
8- < span class ="input-group-text span-width "> Name</ span >
9- </ div >
10- < input class ="form-control " id ="name " type ="text " formControlName ="name "
6+ < div class ="form-group ">
7+ < label > Name:</ label >
8+ < div >
9+ < input class ="form-control " id ="name " type ="text " formControlName ="name "
1110 [class.is-invalid] ="name.invalid && name.touched " required />
12- < div class ="text-danger " *ngIf ="(name.dirty || name.touched) && name.invalid && name.errors.required ">
13- Activity name is required.
11+ < div class ="text-danger " *ngIf ="(name.dirty || name.touched) && name.invalid && name.errors.required ">
12+ Activity name is required.
13+ </ div >
1414 </ div >
1515 </ div >
1616
17- < div class ="input-group input-group-sm mb-3 ">
18- < div class ="input-group-prepend ">
19- < span class ="input-group-text span-width "> Description</ span >
20- </ div >
17+ < div class ="form-group ">
18+ < label for ="NotesTextarea "> Description:</ label >
2119 < textarea class ="form-control " rows ="2 " id ="description " type ="text " formControlName ="description "> </ textarea >
2220 </ div >
2321
Original file line number Diff line number Diff line change 1- < div class ="container ">
1+ < div class ="activity- container ">
22 < app-create-activity > </ app-create-activity >
33 < app-activity-list > </ app-activity-list >
44</ div >
Original file line number Diff line number Diff line change 1+ .activity-container {
2+ width : 100% ;
3+ }
4+
5+ @media (min-width : 992px ) {
6+ .activity-container {
7+ width : 70% ;
8+ }
9+ }
You can’t perform that action at this time.
0 commit comments