diff --git a/src/app/notes/canvas/note-section/note-card/note-card.component.html b/src/app/notes/canvas/note-section/note-card/note-card.component.html index 2f7903e..948d254 100644 --- a/src/app/notes/canvas/note-section/note-card/note-card.component.html +++ b/src/app/notes/canvas/note-section/note-card/note-card.component.html @@ -24,36 +24,40 @@ information does not exist for a screen reader. --> {{ 'notes.pinnedState' | transloco }} } - + + @if (!isChecklist()) { } - @if (hasPlaceholders()) { - - - {{ 'notes.placeholdersCount' | transloco: { count: note().placeholders.length } }} - - } - @if (note().attachmentCount > 0) { - - - {{ 'notes.attachmentsCount' | transloco: { count: note().attachmentCount } }} - - } - @if (note().pinned) { - - } - - - @if (note().title) { - {{ note().title }} - } @else { - {{ 'notes.untitled' | transloco }} - } + + @if (note().title) { + {{ note().title }} + } @else { + {{ 'notes.untitled' | transloco }} + } + + + @if (hasPlaceholders()) { + + + {{ 'notes.placeholdersCount' | transloco: { count: note().placeholders.length } }} + + } + @if (note().attachmentCount > 0) { + + + {{ 'notes.attachmentsCount' | transloco: { count: note().attachmentCount } }} + + } + @if (note().pinned) { + + } + @if (isChecklist()) { diff --git a/src/app/notes/canvas/note-section/note-card/note-card.component.scss b/src/app/notes/canvas/note-section/note-card/note-card.component.scss index 2af8bde..839efcc 100644 --- a/src/app/notes/canvas/note-section/note-card/note-card.component.scss +++ b/src/app/notes/canvas/note-section/note-card/note-card.component.scss @@ -50,27 +50,55 @@ app-copy-button:focus-within { // The children are s — the parent