Skip to content

Commit b8994e5

Browse files
committed
- upd badges
- add more space between buttons
1 parent 9cd3008 commit b8994e5

File tree

8 files changed

+12
-12
lines changed

8 files changed

+12
-12
lines changed

src/app/modules/e-commerce/containers/management-page/management-page.component.html

-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
<input matInput (keyup)="applyFilter($event)" #input class="search-title">
1111
<mat-icon matPrefix class="search-icon">search</mat-icon>
1212
</mat-form-field>
13-
1413
</mat-card-title>
1514

1615

@@ -114,5 +113,3 @@
114113
<mat-paginator [pageSizeOptions]="[5, 10, 20]" showFirstLastButtons></mat-paginator>
115114
</mat-card-content>
116115
</mat-card>
117-
118-

src/app/modules/e-commerce/containers/management-page/management-page.component.scss

+4-4
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,10 @@
120120
align-items: center;
121121
justify-content: center;
122122
padding: 0;
123+
margin-left: 0;
124+
&:first-child {
125+
margin-right: 1rem;
126+
}
123127
}
124128

125129
.image {
@@ -154,7 +158,3 @@
154158
font-size: 23px;
155159
padding: 0;
156160
}
157-
158-
button + button {
159-
margin-left: 8px;
160-
}
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@import 'src/app/styles/variables';
22

33
button {
4-
margin: 8px 8px 0 0;
4+
margin: 8px 1rem 0 0;
55
}

src/app/modules/templates/extra/components/invoice-card/invoice-card.component.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ span {
152152
}
153153

154154
.button-wrapper + .button-wrapper {
155-
margin-left: 8px;
155+
margin-left: 16px;
156156

157157
@media (max-width: $small) {
158158
margin-left: 0;

src/app/modules/templates/ui-elements/components/modal-page/modal-page.component.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
}
3030

3131
button + button {
32-
margin-left: 8px;
32+
margin-left: 16px;
3333

3434
@media (max-width: $small) {
3535
margin-left: 0;

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
text-transform: uppercase;
6767
border-color: $blue;
6868
box-shadow: none;
69-
margin: 0 0 0 8px;
69+
margin: 0 0 0 16px;
7070
width: fit-content;
7171
height: fit-content;
7272
}

src/app/styles/mat-badge.scss

+3-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77
@mixin badge-line-text {
88
.mat-badge-medium .mat-badge-content {
99
width: auto;
10-
padding: 0 8px;
10+
font-size: 12px;
11+
font-weight: 400;
12+
padding: 4px 8px;
1113
border-radius: 35px;
1214
height: 16px;
1315
line-height: 16px;

src/custom-theme.scss

+1
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ $ama-badge-theme: ama-light-theme($ama-primary, $ama-accent, $ama-warn, $ama-suc
148148
transition: transform 200ms ease-in-out;
149149
transform: scale(0.6);
150150
overflow: hidden;
151+
font-weight: 400;
151152
white-space: nowrap;
152153
text-overflow: ellipsis;
153154
pointer-events: none;

0 commit comments

Comments
 (0)