Skip to content

Commit 050189c

Browse files
committed
Fix user edit/add;
Fix tab color
1 parent b8994e5 commit 050189c

File tree

4 files changed

+13
-4
lines changed

4 files changed

+13
-4
lines changed

src/app/modules/user/containers/add-page/add-page.component.html

+1-2
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
</mat-card>
4343

4444
<mat-card *ngIf="step === 0" class="steps-card">
45-
4645
<mat-card-content class="content">
4746
<div class="content-wrapper">
4847
<mat-card-title class="content-title">Create New Account</mat-card-title>
@@ -75,7 +74,7 @@
7574
<mat-hint>Please choose the role</mat-hint>
7675
</mat-form-field>
7776

78-
<button mat-flat-button color="primary" (click)="increment()">next</button>
77+
<button mat-flat-button color="primary" class="next-button" (click)="increment()">next</button>
7978
</div>
8079
</div>
8180
</mat-card-content>

src/app/modules/user/containers/add-page/add-page.component.scss

+4
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,10 @@
140140
width: 100%;
141141
}
142142

143+
.next-button {
144+
float: right;
145+
}
146+
143147
.buttons-wrapper {
144148
display: flex;
145149
justify-content: space-between;

src/app/modules/user/containers/edit-page/edit-page.component.scss

+6
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66
margin-top: 24px;
77
}
88

9+
.edit-nav-card {
10+
.add-line-card {
11+
padding: 0 30px;
12+
}
13+
}
14+
915
.nav-items-group {
1016
padding: 8px;
1117
}

src/app/styles/mat-tab.scss

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
@mixin mat-tab-color-label($color) {
1111
.nav-items-group {
12-
.mat-tab-label {
12+
.mat-tab-label-active {
1313
color: $color;
1414
}
1515
}
@@ -55,7 +55,7 @@
5555

5656
.edit-nav-card {
5757
div.mat-tab-label {
58-
padding: 0;
58+
padding: 0 8px;
5959
min-width: 85px;
6060
font-weight: $fw-lighter;
6161

0 commit comments

Comments
 (0)