Skip to content

Commit 830457b

Browse files
committed
Adjusting filter panel
1 parent 76a5c76 commit 830457b

File tree

1 file changed

+17
-7
lines changed

1 file changed

+17
-7
lines changed

frontend/src/pages/Reports/components/FilterPanel/FilterPanel.scss

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
background-color: white;
88

99
&__title {
10-
font-size: 1.5rem;
10+
font-size: 1.25rem;
1111
font-weight: 600;
1212
margin: 0 0 1.5rem;
1313
color: var(--ion-text-color);
@@ -26,21 +26,28 @@
2626
}
2727

2828
&__category-container {
29-
display: flex;
30-
flex-wrap: wrap;
31-
gap: 0.75rem;
29+
display: grid;
30+
grid-template-columns: repeat(3, 1fr);
31+
gap: 0.5rem;
32+
width: 100%;
3233
}
3334

3435
&__category-button {
3536
background-color: white;
36-
border: 1px solid #e0e0e0;
37+
border: 1px solid #838B94;
3738
border-radius: 8px;
38-
padding: 0.75rem 1.25rem;
39+
padding: 0.75rem 0.5rem;
3940
font-size: 14px;
4041
font-weight: 500;
4142
color: var(--ion-color-medium);
4243
transition: all 0.2s ease;
4344
cursor: pointer;
45+
text-align: center;
46+
width: 100%;
47+
height: 41px;
48+
display: flex;
49+
align-items: center;
50+
justify-content: center;
4451

4552
&--selected {
4653
background-color: #313E4C;
@@ -51,6 +58,7 @@
5158

5259
&__actions {
5360
padding-bottom: env(safe-area-inset-bottom);
61+
margin-top: auto;
5462
}
5563

5664
&__apply-button {
@@ -59,8 +67,10 @@
5967
height: 48px;
6068
font-weight: 600;
6169
margin: 0;
62-
--border-radius: 8px;
70+
--border-radius: 12px;
6371
text-transform: none;
6472
font-size: 16px;
73+
letter-spacing: 0;
74+
box-shadow: none;
6575
}
6676
}

0 commit comments

Comments
 (0)