mirror of
https://github.com/zadam/trilium.git
synced 2025-10-20 15:19:01 +02:00
chore(collections/board): icon as part of the text for better fit on multiline
This commit is contained in:
parent
54fe9dde70
commit
79e51b543a
@ -62,10 +62,12 @@ export default function Card({
|
||||
onDragEnd={handleDragEnd}
|
||||
onContextMenu={handleContextMenu}
|
||||
>
|
||||
<span class={`icon ${note.getIcon()}`} />
|
||||
{!isEditing ? (
|
||||
<>
|
||||
<span className="title">{title}</span>
|
||||
<span className="title">
|
||||
<span class={`icon ${note.getIcon()}`} />
|
||||
{title}
|
||||
</span>
|
||||
<span
|
||||
className="edit-icon icon bx bx-edit"
|
||||
title={t("board_view.edit-note-title")}
|
||||
|
Loading…
x
Reference in New Issue
Block a user