Skip to content

Commit a4f8feb

Browse files
Fix CSS for Client Screen Report layout (#2679)
1 parent 5ed6524 commit a4f8feb

File tree

2 files changed

+33
-2
lines changed

2 files changed

+33
-2
lines changed

src/app/clients/clients-view/client-actions/client-screen-reports/client-screen-reports.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
</div>
1919
</mat-card-content>
2020

21-
<mat-card-actions class="layout-row align-center gap-5px responsive-column">
21+
<mat-card-actions class="layout-row align-center gap-5px actions-spacing responsive-column">
2222
<button type="button" mat-raised-button [routerLink]="['../../']">
2323
{{ 'labels.buttons.Cancel' | translate }}
2424
</button>
@@ -30,7 +30,7 @@
3030
</mat-card>
3131
</div>
3232

33-
<div #output class="container">
33+
<div #output class="container m-t-20">
3434
<mat-card class="layout-column gap-3percent">
3535
<div class="layout-align-end">
3636
<button mat-stroked-button color="primary" [disabled]="!template" (click)="print()">

src/app/clients/clients-view/client-actions/client-screen-reports/client-screen-reports.component.scss

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,34 @@
55
align-self: flex-end;
66
}
77
}
8+
9+
::ng-deep mat-card {
10+
margin-bottom: 1rem;
11+
padding: 1rem;
12+
box-shadow: 0 2px 4px rgb(0 0 0 / 10%);
13+
border: 1px solid var(--border-color, #ddd);
14+
border-radius: 8px;
15+
background-color: var(--card-background, #fff);
16+
transition:
17+
background-color 0.3s ease,
18+
border-color 0.3s ease;
19+
height: 10rem;
20+
}
21+
22+
.m-t-20 button {
23+
background-color: #1976d2;
24+
color: white;
25+
}
26+
27+
::ng-deep .container.m-t-20 mat-card p {
28+
display: block;
29+
margin-top: -1.9rem;
30+
}
31+
32+
.m-b-20 form {
33+
margin-top: -1.5rem;
34+
}
35+
36+
.actions-spacing {
37+
margin-top: 24px;
38+
}

0 commit comments

Comments
 (0)