Merge pull request #345 from CodeWithShreyans/misc-fixes

Fix padding and broken profile button
This commit is contained in:
Dhravya Shah 2025-03-23 23:06:29 -07:00 committed by GitHub
commit d07d0c0928
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 4 deletions

View file

@ -91,11 +91,13 @@ function Navbar({ user }: { user?: User }) {
</DropdownMenuLabel>
<DropdownMenuSeparator />
<DropdownMenuGroup>
{/* TODO: Add profile modal */}
{/* <ProfileModal>
<DropdownMenuItem>
<UserIcon className="mr-2 h-4 w-4" />
<span>Profile</span>
<DropdownMenuShortcut>P</DropdownMenuShortcut>
</DropdownMenuItem>
</ProfileModal> */}
<DropdownMenuItem onSelect={toggleTheme}>
{theme === Theme.LIGHT ? (
<Sun className="mr-2 h-4 w-4" />
@ -105,13 +107,13 @@ function Navbar({ user }: { user?: User }) {
<span>{theme === Theme.LIGHT ? "Dark mode" : "Light mode"}</span>
</DropdownMenuItem>
<DropdownMenuItem asChild>
<a href="https://portal.productboard.com/8rhspck6pdelv78mptczaena" target="_blank">
<a href="https://portal.productboard.com/8rhspck6pdelv78mptczaena" target="_blank" rel="noreferrer">
<LifeBuoy className="mr-2 h-4 w-4" />
<span>Support</span>
</a>
</DropdownMenuItem>
<DropdownMenuItem asChild>
<a href="https://api.supermemory.ai" target="_blank">
<a href="https://api.supermemory.ai" target="_blank" rel="noreferrer">
<Cloud className="mr-2 h-4 w-4" />
<span>API</span>
</a>

View file

@ -458,7 +458,7 @@ export function AddMemoryModal({
)}
</CredenzaBody>
<CredenzaFooter className="border-t">
<div className="flex justify-between w-full">
<div className="flex justify-between w-full pt-2">
<CredenzaClose asChild>
<Button id="close-memory-modal" variant="outline">
Cancel