mirror of
https://gitlab.com/ArkHost/HelixNotes.git
synced 2026-07-24 07:45:57 +02:00
Added a filled-star indicator to notes in Quick Access
This commit is contained in:
@@ -1101,6 +1101,11 @@
|
||||
<path d="M12 17v5"/><path d="M9 2h6l-1 7h4l-2 4H8l-2-4h4L9 2z"/>
|
||||
</svg>
|
||||
{/if}
|
||||
{#if $viewMode !== 'quickaccess' && $quickAccessPaths.includes(note.relative_path)}
|
||||
<svg width="13" height="13" viewBox="0 0 24 24" fill="currentColor" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="quickaccess-icon">
|
||||
<polygon points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"/>
|
||||
</svg>
|
||||
{/if}
|
||||
{note.meta.title}
|
||||
</span>
|
||||
{#if getNotebookPath(note)}
|
||||
@@ -1115,6 +1120,11 @@
|
||||
<path d="M12 17v5"/><path d="M9 2h6l-1 7h4l-2 4H8l-2-4h4L9 2z"/>
|
||||
</svg>
|
||||
{/if}
|
||||
{#if $viewMode !== 'quickaccess' && $quickAccessPaths.includes(note.relative_path)}
|
||||
<svg width="13" height="13" viewBox="0 0 24 24" fill="currentColor" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="quickaccess-icon">
|
||||
<polygon points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"/>
|
||||
</svg>
|
||||
{/if}
|
||||
{note.meta.title}
|
||||
</div>
|
||||
<div class="note-preview">{note.preview}</div>
|
||||
@@ -1632,6 +1642,11 @@
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.quickaccess-icon {
|
||||
color: var(--text-accent);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.note-preview {
|
||||
font-size: 0.85em;
|
||||
color: var(--text-tertiary);
|
||||
|
||||
Reference in New Issue
Block a user