Skip to content

Commit 9a13ecc

Browse files
committed
fix: rename custom flex classes to app prefix for consistency
1 parent bcd7fa3 commit 9a13ecc

File tree

5 files changed

+15
-15
lines changed

5 files changed

+15
-15
lines changed

projects/ng-kit-demo/src/app/progress-state-demo/progress-state-demo.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<div class="custom-flex-justify-center">
1+
<div class="app-flex-justify-center">
22
<save-primary-button
33
(click)="setLoading()"
44
(keydown)="setLoading()"

projects/ng-kit-demo/src/styles.scss

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,37 +21,37 @@ body {
2121
}
2222

2323
// Places item in the middle of the box
24-
.custom-flex-center {
24+
.app-flex-center {
2525
display: flex;
2626
align-items: center;
2727
}
2828

2929
// Places item in the center of the box
30-
.custom-flex-justify-center {
30+
.app-flex-justify-center {
3131
display: flex;
3232
justify-content: center;
3333
}
3434

3535
// Places item in the left of the box
36-
.custom-flex-justify-left {
36+
.app-flex-justify-left {
3737
display: flex;
3838
justify-content: flex-start;
3939
}
4040

4141
// Places item in the right of the box
42-
.custom-flex-justify-right {
42+
.app-flex-justify-right {
4343
display: flex;
4444
justify-content: flex-end;
4545
}
4646

4747
// Places items at the start of the item
48-
.custom-flex-align-items-start {
48+
.app-flex-align-items-start {
4949
display: flex;
5050
align-items: flex-start;
5151
}
5252

5353
// Places items at the start of the item
54-
.custom-flex-align-items-center {
54+
.app-flex-align-items-center {
5555
display: flex;
5656
align-items: center;
5757
}

projects/ng-kit/src/assets/general.scss

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,37 +30,37 @@ a:hover {
3030
}
3131

3232
// Places item in the middle of the box
33-
.custom-flex-center {
33+
.app-flex-center {
3434
display: flex;
3535
align-items: center;
3636
}
3737

3838
// Places item in the center of the box
39-
.custom-flex-justify-center {
39+
.app-flex-justify-center {
4040
display: flex;
4141
justify-content: center;
4242
}
4343

4444
// Places item in the left of the box
45-
.custom-flex-justify-left {
45+
.app-flex-justify-left {
4646
display: flex;
4747
justify-content: flex-start;
4848
}
4949

5050
// Places item in the right of the box
51-
.custom-flex-justify-right {
51+
.app-flex-justify-right {
5252
display: flex;
5353
justify-content: flex-end;
5454
}
5555

5656
// Places items at the start of the item
57-
.custom-flex-align-items-start {
57+
.app-flex-align-items-start {
5858
display: flex;
5959
align-items: flex-start;
6060
}
6161

6262
// Places items at the start of the item
63-
.custom-flex-align-items-center {
63+
.app-flex-align-items-center {
6464
display: flex;
6565
align-items: center;
6666
}

projects/ng-kit/src/lib/components/snack-bar/error-snack-bar/error-snack-bar.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { MAT_SNACK_BAR_DATA, MatSnackBarRef } from '@angular/material/snack-bar'
88
selector: 'app-error-snack-bar',
99
imports: [MatIconModule, MatButtonModule],
1010
template: `
11-
<div class="custom-flex-center error-snackbar">
11+
<div class="app-flex-center error-snackbar">
1212
<mat-icon style="font-size:1.3rem">error</mat-icon>
1313
<label>{{ data.message }}</label>
1414
<button style="margin-left: auto" (click)="close()" mat-icon-button>

projects/ng-kit/src/lib/components/snack-bar/success-snack-bar/success-snack-bar.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { MAT_SNACK_BAR_DATA, MatSnackBarRef } from '@angular/material/snack-bar'
77
selector: 'app-success-snack-bar',
88
imports: [MatButtonModule, MatIconModule],
99
template: `
10-
<div class="custom-flex-center success-snackbar">
10+
<div class="app-flex-center success-snackbar">
1111
<mat-icon style="font-size:1.3rem">check_circle</mat-icon>
1212
<label>{{ data.message }}</label>
1313
<button style="margin-left: auto" (click)="close()" mat-icon-button>

0 commit comments

Comments
 (0)