mirror of
https://github.com/ryanoasis/nerd-fonts.git
synced 2024-12-19 20:12:52 +02:00
Some cheat-cheat tweaks
[why] * We want to have the autocreated cheat-sheet file here 100% and not only approximate, so create the file anew via generate-css.sh and commit it here. * "No results found" is kind of a lie, we have a result and the result is that there are no hits while searching :-> Call me pedantic. Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
This commit is contained in:
parent
021c5fd59e
commit
8c3d893a60
@ -12,8 +12,7 @@ style: container
|
|||||||
|
|
||||||
<input type="text" id="glyphSearch" placeholder="Search for glyphs/icons here..." title="Type in a glyph name or hex codepoint" class="nerd-font-cheat-sheet-search nerd-font-input tertiary sanity-test" />
|
<input type="text" id="glyphSearch" placeholder="Search for glyphs/icons here..." title="Type in a glyph name or hex codepoint" class="nerd-font-cheat-sheet-search nerd-font-input tertiary sanity-test" />
|
||||||
|
|
||||||
<div id="glyphCheatSheet" class="nerd-font-cheat-sheet">
|
<div id="glyphCheatSheet" class="nerd-font-cheat-sheet"></div>
|
||||||
</div>
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
const glyphs = {
|
const glyphs = {
|
||||||
@ -11390,7 +11389,7 @@ const glyphs = {
|
|||||||
"nf-weather-wind_south_east": "e356",
|
"nf-weather-wind_south_east": "e356",
|
||||||
"nf-weather-wind_south_west": "e355",
|
"nf-weather-wind_south_west": "e355",
|
||||||
"nf-weather-wind_west": "e354",
|
"nf-weather-wind_west": "e354",
|
||||||
"nf-weather-windy": "e31e"
|
"nf-weather-windy": "e31e",
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
@ -11410,9 +11409,7 @@ const glyphs = {
|
|||||||
|
|
||||||
I really <i class="nf nf-fa-heart"></i> <i class="nf nf-custom-vim"></i>
|
I really <i class="nf nf-fa-heart"></i> <i class="nf nf-custom-vim"></i>
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
<p>
|
<p><span class="nerd-fonts-example-usage">
|
||||||
<span class="nerd-fonts-example-usage">
|
|
||||||
I really <i class="nf nf-fa-heart ow"></i> <i class="nf nf-custom-vim nfunc"></i>
|
I really <i class="nf nf-fa-heart ow"></i> <i class="nf nf-custom-vim nfunc"></i>
|
||||||
</span>
|
</span></p>
|
||||||
</p>
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -154,7 +154,7 @@ document.addEventListener('DOMContentLoaded', function () {
|
|||||||
} else {
|
} else {
|
||||||
let notFoundElem = document.createElement("div");
|
let notFoundElem = document.createElement("div");
|
||||||
notFoundElem.setAttribute("style", "padding: 10px;");
|
notFoundElem.setAttribute("style", "padding: 10px;");
|
||||||
notFoundElem.innerHTML = `<span style="font-size: 30px;">No results found</span>`;
|
notFoundElem.innerHTML = `<span style="font-size: 30px;">No matches found</span>`;
|
||||||
elementGlyphCheatSheet.appendChild(notFoundElem);
|
elementGlyphCheatSheet.appendChild(notFoundElem);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user