Skip to content

Commit d534db2

Browse files
committed
feat(note_icon): add an empty option (closes #7370)
1 parent 40edd42 commit d534db2

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

apps/client/src/widgets/icon_list.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,12 @@ const categories: Category[] = [
147147
];
148148

149149
const icons: Icon[] = [
150+
{
151+
name: "empty",
152+
slug: "empty",
153+
category_id: 113,
154+
type_of_icon: "REGULAR"
155+
},
150156
{
151157
name: "child",
152158
slug: "child-regular",

apps/client/src/widgets/note_icon.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,16 @@
5656

5757
.note-icon-widget .icon-list span:hover {
5858
border: 1px solid var(--main-border-color);
59+
}
60+
61+
.note-icon-widget .icon-list span.bx-empty {
62+
width: unset;
63+
}
64+
65+
.note-icon-widget .icon-list span.bx-empty::before {
66+
display: inline-block;
67+
content: "";
68+
border: 1px dashed var(--muted-text-color);
69+
width: 1em;
70+
height: 1em;
5971
}

0 commit comments

Comments
 (0)