aboutsummaryrefslogtreecommitdiff
path: root/apps/web/src/components/Sidebar/AddMemoryDialog.tsx
diff options
context:
space:
mode:
authoryxshv <[email protected]>2024-04-15 01:57:39 +0530
committeryxshv <[email protected]>2024-04-15 01:57:39 +0530
commit0ce7c916ffcbf6515c3da521775c72861bddd53c (patch)
treea23c4b9b8bce9b7124c8574ee6f60709b522c6ae /apps/web/src/components/Sidebar/AddMemoryDialog.tsx
parentspace expand layout (diff)
downloadsupermemory-0ce7c916ffcbf6515c3da521775c72861bddd53c.tar.xz
supermemory-0ce7c916ffcbf6515c3da521775c72861bddd53c.zip
add profile and fix drawer scroll
Diffstat (limited to 'apps/web/src/components/Sidebar/AddMemoryDialog.tsx')
-rw-r--r--apps/web/src/components/Sidebar/AddMemoryDialog.tsx10
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/web/src/components/Sidebar/AddMemoryDialog.tsx b/apps/web/src/components/Sidebar/AddMemoryDialog.tsx
index 1406925c..63f0d122 100644
--- a/apps/web/src/components/Sidebar/AddMemoryDialog.tsx
+++ b/apps/web/src/components/Sidebar/AddMemoryDialog.tsx
@@ -26,7 +26,7 @@ export function AddMemoryPage({ closeDialog, defaultSpaces, onAdd }: { closeDial
const [selectedSpacesId, setSelectedSpacesId] = useState<number[]>(defaultSpaces ?? []);
return (
- <div className="md:w-[40vw]">
+ <div className="max-w-[80vw] w-[80vw] md:w-[40vw]">
<DialogHeader>
<DialogTitle>Add a web page to memory</DialogTitle>
<DialogDescription>
@@ -133,7 +133,7 @@ export function NoteAddPage({ closeDialog, defaultSpaces, onAdd }: { closeDialog
}
return (
- <div>
+ <div className="w-[80vw] md:w-auto">
<Input
ref={inputRef}
data-error="false"
@@ -152,7 +152,7 @@ export function NoteAddPage({ closeDialog, defaultSpaces, onAdd }: { closeDialog
setContent(editor.storage.markdown.getMarkdown());
}}
extensions={[Markdown]}
- className="novel-editor bg-rgray-4 border-rgray-7 dark mt-5 max-h-[60vh] min-h-[40vh] w-[50vw] overflow-y-auto rounded-lg border [&>div>div]:p-5"
+ className="novel-editor w-full bg-rgray-4 border-rgray-7 dark mt-5 max-h-[60vh] min-h-[40vh] md:w-[50vw] overflow-y-auto rounded-lg border [&>div>div]:p-5"
/>
<DialogFooter>
<FilterSpaces
@@ -243,7 +243,7 @@ export function SpaceAddPage({ closeDialog, onAdd }: { closeDialog: () => void,
}
return (
- <div className="md:w-[40vw]">
+ <div className="w-[80vw] md:w-[40vw]">
<DialogHeader>
<DialogTitle>Add a space</DialogTitle>
</DialogHeader>
@@ -376,7 +376,7 @@ export function AddExistingMemoryToSpace({
const [selected, setSelected] = useState<StoredContent[]>([]);
return (
- <div className="md:w-[40vw]">
+ <div className="w-[80vw] md:w-[40vw]">
<DialogHeader>
<DialogTitle>Add an existing memory to {space.title}</DialogTitle>
<DialogDescription>