Skip to content

Commit d515c63

Browse files
💄 Improve filters UI
1 parent bcc8f92 commit d515c63

File tree

4 files changed

+26
-4
lines changed

4 files changed

+26
-4
lines changed

client/src/steps/BoardMembershipsStep/BoardMembershipsStep.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ const BoardMembershipsStep = React.memo(
8585
}}
8686
label={
8787
<div className={styles.filterLabel}>
88-
<div className={styles.userAvatar}>
89-
<Icon name="person_off" type="outlined" aria-hidden="true" />
88+
<div className={styles.noMember}>
89+
<Icon name="person_off" type="outlined" size="small" aria-hidden="true" />
9090
</div>
9191
<span className={styles.userName}>Aucun membre</span>
9292
</div>

client/src/steps/BoardMembershipsStep/BoardMembershipsStep.module.scss

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,17 @@
6464
justify-content: center;
6565
}
6666

67+
.noMember {
68+
flex-shrink: 0;
69+
display: flex;
70+
align-items: center;
71+
justify-content: center;
72+
width: 24px;
73+
height: 24px;
74+
border: 1px solid var(--c--theme--colors--greyscale-800);
75+
border-radius: 100%;
76+
}
77+
6778
span {
6879
text-overflow: ellipsis;
6980
overflow: hidden;

client/src/steps/LabelsStep/LabelsStep.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,8 +210,8 @@ const LabelsStep = React.memo(
210210
}}
211211
label={
212212
<div className={styles.filterLabel}>
213-
<div className={styles.labelIcon}>
214-
<Icon name="label_off" type="outlined" aria-hidden="true" />
213+
<div className={styles.noLabel}>
214+
<Icon name="label_off" type="outlined" size="small" aria-hidden="true" />
215215
</div>
216216
<span className={styles.labelName}>Aucune étiquette</span>
217217
</div>

client/src/steps/LabelsStep/LabelsStep.module.scss

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,17 @@
8888
align-items: center;
8989
justify-content: center;
9090
}
91+
92+
.noLabel {
93+
flex-shrink: 0;
94+
display: flex;
95+
align-items: center;
96+
justify-content: center;
97+
width: 24px;
98+
height: 24px;
99+
border: 1px solid var(--c--theme--colors--greyscale-800);
100+
border-radius: 100%;
101+
}
91102
}
92103

93104
.itemActions {

0 commit comments

Comments
 (0)