diff --git a/frontend/src/lib/components/ArticleCardView.svelte b/frontend/src/lib/components/ArticleCardView.svelte index 8733b18b..2d0f94c3 100644 --- a/frontend/src/lib/components/ArticleCardView.svelte +++ b/frontend/src/lib/components/ArticleCardView.svelte @@ -481,17 +481,20 @@ {/if}
- + -
- {#if nearLimit} - = MAX}>{MAX - value.length} + +
+ {#if focused} + {#if nearLimit} + = MAX}>{MAX - value.length} + {/if} + + + {:else if showSaved} + + + + Saved + {/if} - -
@@ -238,6 +249,20 @@ cursor: default; } + /* At-rest confirmation that a note is saved — success green, quiet weight. */ + .saved-pill { + display: inline-flex; + align-items: center; + gap: 0.25rem; + font-size: var(--text-md); + font-weight: var(--weight-medium); + color: var(--color-success, #4caf50); + } + + .saved-pill :global(.icon) { + flex-shrink: 0; + } + @media (prefers-reduced-motion: reduce) { .actions { transition: none;