feat(frontend): add Note-Add-MD icon to the Annotieren button
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -101,10 +101,16 @@ const compactMeta = $derived.by(() => {
|
|||||||
<button
|
<button
|
||||||
onclick={() => (annotateMode = !annotateMode)}
|
onclick={() => (annotateMode = !annotateMode)}
|
||||||
aria-label={annotateMode ? m.doc_panel_annotate_stop() : m.doc_panel_annotate()}
|
aria-label={annotateMode ? m.doc_panel_annotate_stop() : m.doc_panel_annotate()}
|
||||||
class="rounded px-3 py-1.5 font-sans text-xs font-medium transition {annotateMode
|
class="flex items-center gap-1.5 rounded px-3 py-1.5 font-sans text-xs font-medium transition {annotateMode
|
||||||
? 'bg-brand-navy text-white'
|
? 'bg-brand-navy text-white'
|
||||||
: 'border border-brand-navy text-brand-navy hover:bg-brand-navy hover:text-white'}"
|
: 'border border-brand-navy text-brand-navy hover:bg-brand-navy hover:text-white'}"
|
||||||
>
|
>
|
||||||
|
<img
|
||||||
|
src="/degruyter-icons/Simple/Medium-24px/SVG/Action/Note-Add-MD.svg"
|
||||||
|
alt=""
|
||||||
|
aria-hidden="true"
|
||||||
|
class="h-4 w-4 {annotateMode ? 'invert' : ''}"
|
||||||
|
/>
|
||||||
{annotateMode ? m.doc_panel_annotate_stop() : m.doc_panel_annotate()}
|
{annotateMode ? m.doc_panel_annotate_stop() : m.doc_panel_annotate()}
|
||||||
</button>
|
</button>
|
||||||
{/if}
|
{/if}
|
||||||
|
|||||||
Reference in New Issue
Block a user