Skip to content

Commit 715e613

Browse files
committed
feat: add filter snippets input to the toolbar
1 parent 82fa994 commit 715e613

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

src/extensionsIntegrated/CustomSnippets/htmlContent/snippets-panel.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@
1414
</button>
1515
</div>
1616
</div>
17+
18+
<div id="filter-snippets-panel" class="filter-snippets-panel">
19+
<input id="filter-snippets-input" type="text" placeholder="Filter..." autocomplete="off">
20+
</div>
21+
1722
<div id="close-custom-snippets-panel-btn">
1823
<button><i class="fas fa-times"></i></button>
1924
</div>

src/styles/Extn-CustomSnippets.less

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,17 @@
7070
}
7171
}
7272

73+
.filter-snippets-panel {
74+
position: absolute;
75+
top: 6px;
76+
right: 40px;
77+
}
78+
79+
.filter-snippets-panel #filter-snippets-input {
80+
height: 14px;
81+
width: 220px;
82+
}
83+
7384
#close-custom-snippets-panel-btn {
7485
position: absolute;
7586
top: 9px;

0 commit comments

Comments
 (0)