Skip to content

Commit c7676c7

Browse files
committed
Icons
1 parent 73148e6 commit c7676c7

File tree

2 files changed

+12
-10
lines changed

2 files changed

+12
-10
lines changed

frontend/src/pages/Home/components/ReportItem/ReportItem.scss

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -47,19 +47,21 @@
4747
display: flex;
4848
align-items: center;
4949
justify-content: center;
50+
align-self: center;
51+
margin-right: 6px;
5052

5153
&-icon {
52-
font-size: 22px;
54+
font-size: 12px;
5355
color: #aaa;
5456
transition: all 0.2s ease;
55-
width: 1em;
56-
height: 1em;
57+
width: 12px;
58+
height: 12px;
5759
display: flex;
5860
align-items: center;
5961
justify-content: center;
6062
background-color: white;
6163
border-radius: 50%;
62-
padding: 8px;
64+
padding: 11px;
6365
box-sizing: content-box;
6466
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
6567

@@ -72,8 +74,8 @@
7274
}
7375

7476
&__icon {
75-
width: 40px;
76-
height: 40px;
77+
width: 56px;
78+
height: 56px;
7779
border-radius: 50%;
7880
display: flex;
7981
align-items: center;
@@ -89,8 +91,8 @@
8991
}
9092

9193
img {
92-
width: 24px;
93-
height: 24px;
94+
width: 28px;
95+
height: 28px;
9496
filter: none; /* Remove previous filter that made the SVG white */
9597
}
9698
}

frontend/src/pages/Home/components/ReportItem/ReportItem.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ const ReportItem: React.FC<ReportItemProps> = ({
5555
<img
5656
src={getCategoryIconSrc(categoryStr)}
5757
alt={t(getCategoryTranslationKey(), { ns: 'report' })}
58-
width="24"
59-
height="24"
58+
width="28"
59+
height="28"
6060
/>
6161
</div>
6262
);

0 commit comments

Comments
 (0)