mirror of
https://github.com/tcsenpai/obsidiangarden_netlify.git
synced 2025-07-21 09:30:16 +00:00
Add back the sticky note icon as a default
This commit is contained in:
parent
f7b9ccd7b1
commit
25c5ed93ab
@ -46,6 +46,7 @@
|
||||
"src/site/_includes/components/searchContainer.njk",
|
||||
"src/site/_includes/components/searchScript.njk",
|
||||
"src/site/_includes/components/calloutScript.njk",
|
||||
"src/site/_includes/components/lucideIcons.njk",
|
||||
"src/site/lunr-index.js",
|
||||
"src/site/lunr.njk",
|
||||
"src/site/_data/versionednotes.js",
|
||||
|
@ -3,6 +3,7 @@
|
||||
<div x-show="isOpen" style="display:none" class="{{'filelist' if step>0}}">
|
||||
{%if fileOrFolder.isNote %}
|
||||
<div @click.stop class="notelink {{ 'active-note' if fileOrFolder.permalink === permalink}}">
|
||||
{%- if not meta.noteIconsSettings.filetree -%}<i icon-name="sticky-note" aria-hidden="true"></i>{%- endif -%}
|
||||
<a data-note-icon="{{fileOrFolder.noteIcon}}" style="text-decoration: none;" class="filename" href="{{fileOrFolder.permalink}}">{{fileOrFolder.name}} </a>
|
||||
</div>
|
||||
{% elif fileOrFolder.isFolder%}
|
||||
@ -52,4 +53,4 @@
|
||||
{%- endfor -%}
|
||||
</div>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -379,11 +379,16 @@ ul.task-list {
|
||||
|
||||
.notelink {
|
||||
padding: 5px 0 5px 25px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
a {
|
||||
&:hover {
|
||||
text-decoration: underline !important;
|
||||
}
|
||||
}
|
||||
svg {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.foldername-wrapper {
|
||||
|
Loading…
x
Reference in New Issue
Block a user