Skip to content

Commit ac2afc4

Browse files
committed
fix: update text in the no snippets present panel
1 parent 8bf432d commit ac2afc4

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

src/extensionsIntegrated/CustomSnippets/snippetsList.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ define(function (require, exports, module) {
104104
if (filterText) {
105105
$emptyMessage.text(`No snippets match "${filterText}"`);
106106
} else {
107-
$emptyMessage.text("No custom snippets added yet!");
107+
$emptyMessage.html('Add your own code hints to speed up coding - <a href="https://docs.phcode.dev" target="_blank">Learn More</a>');
108108
}
109109
}
110110

src/styles/Extn-CustomSnippets.less

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,19 @@
331331
.dark & {
332332
color: @dark-bc-text-thin;
333333
}
334+
335+
a {
336+
color: @bc-btn-border-focused;
337+
text-decoration: none;
338+
339+
&:hover {
340+
text-decoration: underline;
341+
}
342+
343+
.dark & {
344+
color: @dark-bc-btn-border-focused;
345+
}
346+
}
334347
}
335348

336349
#add-snippet-btn button {

0 commit comments

Comments
 (0)