diff --git a/apps/client/src/widgets/type_widgets/Attachment.tsx b/apps/client/src/widgets/type_widgets/Attachment.tsx index bef480c6f..b936779af 100644 --- a/apps/client/src/widgets/type_widgets/Attachment.tsx +++ b/apps/client/src/widgets/type_widgets/Attachment.tsx @@ -34,20 +34,23 @@ import FNote from "../../entities/fnote"; export function AttachmentList({ note }: TypeWidgetProps) { const attachments = useAttachments(note); + // TODO: Extract inline styles to CSS return ( - <> +
+
-
- {attachments.length ? ( - attachments.map(attachment => ) - ) : ( - - {t("attachment_list.no_attachments")} - - )} +
+ {attachments.length ? ( + attachments.map(attachment => ) + ) : ( + + {t("attachment_list.no_attachments")} + + )} +
- +
); }