diff --git a/apps/client/src/widgets/collections/legacy/ListOrGridView.css b/apps/client/src/widgets/collections/legacy/ListOrGridView.css index b2251185ed..ea9a4e2e4b 100644 --- a/apps/client/src/widgets/collections/legacy/ListOrGridView.css +++ b/apps/client/src/widgets/collections/legacy/ListOrGridView.css @@ -124,7 +124,6 @@ /* List item */ .nested-note-list-item { - h5 { display: flex; align-items: center; diff --git a/apps/client/src/widgets/collections/legacy/ListOrGridView.tsx b/apps/client/src/widgets/collections/legacy/ListOrGridView.tsx index f4750c6ef5..cdde8a6087 100644 --- a/apps/client/src/widgets/collections/legacy/ListOrGridView.tsx +++ b/apps/client/src/widgets/collections/legacy/ListOrGridView.tsx @@ -225,8 +225,7 @@ export function NoteContent({ note, trim, noChildrenList, highlightedTokens, inc }); }, [ note, highlightedTokens ]); - return
-
; + return
; } function NoteChildren({ note, parentNote, highlightedTokens, currentLevel, expandDepth, includeArchived }: { diff --git a/apps/client/src/widgets/react/Card.tsx b/apps/client/src/widgets/react/Card.tsx index 141cd0119f..26b52040be 100644 --- a/apps/client/src/widgets/react/Card.tsx +++ b/apps/client/src/widgets/react/Card.tsx @@ -19,7 +19,6 @@ interface CardSectionProps { subSections?: JSX.Element | JSX.Element[]; subSectionsVisible?: boolean; highlightOnHover?: boolean; - hasAction?: boolean; onAction?: () => void; } @@ -30,7 +29,7 @@ export function CardSection(props: {children: ComponentChildren} & CardSectionPr return <>
0, - "tn-card-section-highlight-on-hover": props.highlightOnHover || props.hasAction + "tn-card-section-highlight-on-hover": props.highlightOnHover || props.onAction })} style={{"--tn-card-section-nesting-level": nestingLevel}} onClick={props.onAction}>