mirror of
https://github.com/zadam/trilium.git
synced 2025-10-21 07:38:53 +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}
|
onDragEnd={handleDragEnd}
|
||||||
onContextMenu={handleContextMenu}
|
onContextMenu={handleContextMenu}
|
||||||
>
|
>
|
||||||
<span class={`icon ${note.getIcon()}`} />
|
|
||||||
{!isEditing ? (
|
{!isEditing ? (
|
||||||
<>
|
<>
|
||||||
<span className="title">{title}</span>
|
<span className="title">
|
||||||
|
<span class={`icon ${note.getIcon()}`} />
|
||||||
|
{title}
|
||||||
|
</span>
|
||||||
<span
|
<span
|
||||||
className="edit-icon icon bx bx-edit"
|
className="edit-icon icon bx bx-edit"
|
||||||
title={t("board_view.edit-note-title")}
|
title={t("board_view.edit-note-title")}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user