Skip to content

Commit 90aa345

Browse files
author
NisanurBulut
committed
styled plan-detail component toolbar
1 parent 252c96b commit 90aa345

File tree

3 files changed

+24
-22
lines changed

3 files changed

+24
-22
lines changed

Pilanes/src/app/plan/plan-detail/plan-detail.component.html

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,21 @@
11
<div class="dialog-content-wrapper">
2-
<mat-progress-bar
3-
class="example-margin"
4-
[color]="color"
5-
[mode]="mode"
6-
[value]="this.counter"
7-
[bufferValue]="bufferValue">
8-
</mat-progress-bar>
9-
<button mat-icon-button (click)="this.dialogRef.close(false)" fxFlex
10-
fxLayout="row"
11-
fxLayoutAlign="end center">
12-
<mat-icon>close</mat-icon>
13-
</button>
2+
<mat-toolbar>
3+
<mat-toolbar-row>
4+
5+
<mat-progress-bar
6+
class="example-margin"
7+
[color]="color"
8+
[mode]="mode"
9+
[value]="this.counter"
10+
[bufferValue]="bufferValue">
11+
</mat-progress-bar>
12+
<button mat-icon-button (click)="this.dialogRef.close(false)" fxFlex
13+
fxLayout="row"
14+
fxLayoutAlign="end center">
15+
<mat-icon>close</mat-icon>
16+
</button>
17+
</mat-toolbar-row>
18+
</mat-toolbar>
1419
<mat-carousel
1520
timings="250ms ease-in"
1621
[autoplay]="true"

Pilanes/src/app/plan/plan-detail/plan-detail.component.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,6 @@
1010
::ng-deep button.mat-focus-indicator.mat-icon-button.mat-button-base{
1111
float: right!important;
1212
}
13+
button {
14+
margin-left: 10px;
15+
}

Pilanes/src/database/db.json

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,19 @@
11
{
22
"plans": [
33
{
4-
"name": "2021 01 29T08 30 46 831Z Plan",
4+
"name": "2021 01 29T11 37 04 152Z Plan",
55
"exercises": [
66
{
7-
"gifPath": "../assets/exercises/exercise_25.gif",
8-
"name": "exercise_25",
7+
"gifPath": "../assets/exercises/exercise_27.gif",
8+
"name": "exercise_27",
99
"checked": false,
10-
"id": 25
10+
"id": 27
1111
},
1212
{
1313
"gifPath": "../assets/exercises/exercise_26.gif",
1414
"name": "exercise_26",
1515
"checked": false,
1616
"id": 26
17-
},
18-
{
19-
"gifPath": "../assets/exercises/exercise_27.gif",
20-
"name": "exercise_27",
21-
"checked": false,
22-
"id": 27
2317
}
2418
],
2519
"id": 1

0 commit comments

Comments
 (0)