Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

web: fix attachments ui in properties

Abdullah Atta77dfcec08c86
diff --git a/apps/web/src/components/properties/index.tsx b/apps/web/src/components/properties/index.tsx
index 71f2bc779..7907c8c13 100644
--- a/apps/web/src/components/properties/index.tsx
+++ b/apps/web/src/components/properties/index.tsx
@@ -658,7 +658,13 @@ function Attachments({ noteId }: { noteId: string }) {
estimatedSize={30}
getItemKey={(index) => result.value.key(index)}
items={result.value.placeholders}
- header={<></>}
+ header={
+ <tr>
+ <th style={{ width: "75%" }} />
+ <th style={{ width: "5%" }} />
+ <th style={{ width: "20%" }} />
+ </tr>
+ }
headerSize={0}
renderRow={({ index }) => (
<ResolvedItem index={index} type="attachment" items={result.value}>