From 19cd607c96ceb3907fe4f538f03677804a3b2bf6 Mon Sep 17 00:00:00 2001 From: sabaimran Date: Wed, 24 Jul 2024 18:28:23 +0530 Subject: [PATCH] Style the see content button correctly --- src/interface/web/app/search/page.tsx | 37 +++++++++++++-------------- 1 file changed, 18 insertions(+), 19 deletions(-) diff --git a/src/interface/web/app/search/page.tsx b/src/interface/web/app/search/page.tsx index 6b85c0d3..e221fa08 100644 --- a/src/interface/web/app/search/page.tsx +++ b/src/interface/web/app/search/page.tsx @@ -50,20 +50,20 @@ function Note(props: NoteResultProps) { return ( - -
- {getNoteTypeIcon(note.additional.source)} -
+ + {getNoteTypeIcon(note.additional.source)} {fileName}
-
+
{note.entry}
- + { @@ -90,20 +90,19 @@ function focusNote(note: SearchResult) { {fileName} - - { - isFileNameURL ? - - {note.additional.file} - - : -
- {note.additional.file} -
- } -
- + + { + isFileNameURL ? + + {note.additional.file} + + : +
+ {note.additional.file} +
+ } +
{note.entry}