Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit d87e53a

Browse files
housekeeping
1 parent 9d3767d commit d87e53a

File tree

4 files changed

+17
-4
lines changed

4 files changed

+17
-4
lines changed

client/src/components/AddToGroupModal/index.jsx

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,10 @@ export default function AddToGroupModal({ onCancel, updateUser, user }) {
190190
/>
191191
))}
192192
</div>
193-
{myGroups.filter((g) => g.name.toLowerCase().includes(filter.toLowerCase())).length === 0 && !loadingGroups && <div>No results found</div>}
193+
{myGroups.filter((g) =>
194+
g.name.toLowerCase().includes(filter.toLowerCase())
195+
).length === 0 &&
196+
!loadingGroups && <div className={style.message}>No results found</div>}
194197
<h3 className={style.subTitle}>
195198
Other Groups{loadingGroups && " (Loading...)"}
196199
</h3>
@@ -207,7 +210,10 @@ export default function AddToGroupModal({ onCancel, updateUser, user }) {
207210
/>
208211
))}
209212
</div>
210-
{otherGroups.filter((g) => g.name.toLowerCase().includes(filter.toLowerCase())).length === 0 && !loadingGroups && <div>No results found</div>}
213+
{otherGroups.filter((g) =>
214+
g.name.toLowerCase().includes(filter.toLowerCase())
215+
).length === 0 &&
216+
!loadingGroups && <div className={style.message}>No results found</div>}
211217
<div className={style.buttons}>
212218
<Button onClick={onCancel} disabled={updatingGroups || creatingGroup}>
213219
Cancel

client/src/components/AddToGroupModal/style.module.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,3 +84,8 @@
8484
left: 10px;
8585
top: 10px;
8686
}
87+
88+
.message {
89+
color: $textColor2;
90+
font: 400 12pt/1.25 Inter;
91+
}

client/src/components/GroupsSideMenu/filters.module.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* importing colors */
22
@value colors: "../../styles/colors.module.css";
3-
@value gray1, gray2, gray1_025, white, blue from colors;
3+
@value gray1, gray2, gray1_025, lightGray2, white, blue from colors;
44

55
/* Group Tab filters (lett col) styles */
66
.groupTabFilters {
@@ -142,5 +142,6 @@
142142
}
143143

144144
.message {
145-
color: #a1a3ad;
145+
color: lightGray2;
146+
font: 400 12pt/1.25 Inter;
146147
}

client/src/styles/colors.module.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
@value green2: #0FE030;
1212
@value lightGray: #EEEEEE;
1313
@value lightGray1: #f6f6f6;
14+
@value lightGray2: #a1a3ad;
1415
@value blue: #00A3FF;
1516
@value lightBlue: #8CD6FF;
1617
@value gray_overlay: rgba(37,37,38, 0.1);

0 commit comments

Comments
 (0)