Skip to content

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

web: allow session item size to grow

Abdullah Atta852802da4b5f
diff --git a/apps/web/src/components/properties/index.tsx b/apps/web/src/components/properties/index.tsx
index 94bbb95a7..86bf354aa 100644
--- a/apps/web/src/components/properties/index.tsx
+++ b/apps/web/src/components/properties/index.tsx
@@ -656,7 +656,7 @@ function SessionHistory({ noteId }: { noteId: string }) {
subtitle={"Your session history is local only."}
>
<VirtualizedList
- mode="fixed"
+ mode="dynamic"
estimatedSize={28}
getItemKey={(index) => result.value.key(index)}
items={result.value.placeholders}
diff --git a/apps/web/src/components/session-item/index.tsx b/apps/web/src/components/session-item/index.tsx
index 9464c5dc5..d2c5bdd7d 100644
--- a/apps/web/src/components/session-item/index.tsx
+++ b/apps/web/src/components/session-item/index.tsx
@@ -58,7 +58,8 @@ export function SessionItem(props: SessionItemProps) {
<Flex
sx={{
fontSize: "subBody",
- color: "paragraph-secondary"
+ color: "paragraph-secondary",
+ flexShrink: 0
}}
>
{session.locked && <Lock size={14} data-test-id="locked" />}