Skip to content

Commit dfb2296

Browse files
committed
cleanup the logo select / drag
1 parent 1a633a4 commit dfb2296

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

apps/dashboard/components/layout/organization-selector.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ const getPlanDisplayInfo = (planId: PlanId | null) => {
5353
};
5454

5555
const MENU_ITEM_BASE_CLASSES =
56-
"flex cursor-pointer items-center gap-3 px-4 py-2.5 text-sm text-sidebar-foreground/70 hover:bg-sidebar-accent/60 hover:text-sidebar-accent-foreground";
56+
"flex h-10 cursor-pointer items-center gap-3 px-4 text-sm text-sidebar-foreground/70 hover:bg-sidebar-accent/60 hover:text-sidebar-accent-foreground";
5757
const MENU_ITEM_ACTIVE_CLASSES =
5858
"bg-sidebar-accent font-medium text-sidebar-accent-foreground";
5959

@@ -274,7 +274,7 @@ export function OrganizationSelector() {
274274
>
275275
<DropdownMenuItem
276276
className={cn(
277-
"flex cursor-pointer items-center gap-3 border-b px-4 py-2.5 text-sm",
277+
"flex h-10 cursor-pointer items-center gap-3 border-b px-4 text-sm",
278278
"text-sidebar-foreground/70 hover:bg-sidebar-accent/60 hover:text-sidebar-accent-foreground",
279279
!activeOrganization &&
280280
"bg-sidebar-accent font-medium text-sidebar-accent-foreground"

apps/dashboard/components/layout/sidebar.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,14 +207,15 @@ export function Sidebar({ user = null }: SidebarProps) {
207207
</Button>
208208

209209
<Link
210-
className="flex items-center gap-2 transition-opacity hover:opacity-80"
210+
className="flex select-none items-center gap-2 transition-opacity hover:opacity-80"
211211
data-track="logo-click"
212212
href="/websites"
213213
>
214-
<div className="flex size-8 items-center justify-center">
214+
<div className="flex items-center justify-center">
215215
<Image
216216
alt="Databuddy Logo"
217217
className="invert dark:invert-0"
218+
draggable={false}
218219
height={24}
219220
priority
220221
src="/logo.svg"

0 commit comments

Comments
 (0)