Skip to content

Commit a1d23c4

Browse files
committed
fix: ListView UI fixes
1 parent e86c030 commit a1d23c4

File tree

3 files changed

+17
-10
lines changed

3 files changed

+17
-10
lines changed

src/app/_samples/mediaco/components/gallery-grid/gallery-grid-component.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
<div class="dialog-content">
22
<div class="dialog-header">
3-
<h2 mat-dialog-title>All Content</h2>
3+
<div>
4+
<h2>{{data.dataPage === 'D_AccountHistoryList' ? 'All Activities' : 'Featured Content'}}</h2>
5+
<div class="count">{{data.items.length}} items available</div>
6+
</div>
47
<button mat-icon-button (click)="close()">
58
<mat-icon>close</mat-icon>
69
</button>

src/app/_samples/mediaco/components/gallery-grid/gallery-grid-component.scss

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,14 @@
1717
display: flex;
1818
justify-content: space-between;
1919
align-items: center;
20-
padding: 16px 24px;
20+
padding: 15px 25px;
2121
border-bottom: 1px solid #e0e0e0;
22-
background: #fff;
2322
flex-shrink: 0;
2423

2524
h2 {
26-
margin: 0;
27-
font-size: 22px;
28-
font-weight: 500;
25+
font-size: 30px;
26+
font-weight: 400;
27+
margin: 10px 0;
2928
}
3029
}
3130

@@ -78,11 +77,16 @@
7877
display: grid;
7978
grid-template-columns: 1fr;
8079
gap: 18px;
81-
padding: 12px;
80+
padding: 19px 25px;
8281
overflow-y: scroll;
8382

8483
@media (min-width: 900px) {
8584
grid-template-columns: 1fr 1fr;
8685
gap: 22px;
8786
}
8887
}
88+
89+
.count {
90+
color: #6b7280;
91+
font-size: 13px;
92+
}

src/app/_samples/mediaco/components/gallery-grid/table-template-card/table-template-card.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
.m-card {
22
border: 1px solid #e0e0e0;
3-
border-radius: 8px;
3+
border-radius: 20px;
44
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
5-
padding: 14px 16px;
6-
transition: transform 0.2s;
5+
padding: 18px;
6+
transition: transform 0.1s;
77

88
&:hover {
99
transform: scale(1.01);

0 commit comments

Comments
 (0)