Skip to content

Commit

Permalink
fix: design updates
Browse files Browse the repository at this point in the history
  • Loading branch information
gakshita committed Feb 6, 2025
1 parent 666c180 commit 59ac4f2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
8 changes: 7 additions & 1 deletion web/ce/components/common/subscription-pill.tsx
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
export const SubscriptionPill = () => <></>;
import { IWorkspace } from "@plane/types";

type TProps = {
workspace: IWorkspace;
};

export const SubscriptionPill = (props: TProps) => <></>;
6 changes: 3 additions & 3 deletions web/core/components/workspace/sidebar/dropdown-item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ const SidebarDropdownItem = (props: TProps) => {
<Menu.Item
as="div"
className={cn("px-4 py-2", {
"bg-custom-primary-100/10": workspace.id === activeWorkspace?.id,
"hover:bg-custom-sidebar-background-80": workspace.id !== activeWorkspace?.id,
"bg-custom-sidebar-background-90": workspace.id === activeWorkspace?.id,
"hover:bg-custom-sidebar-background-90": workspace.id !== activeWorkspace?.id,
})}
>
<div className="flex items-center justify-between gap-1 rounded p-1 text-sm text-custom-sidebar-text-100 ">
Expand Down Expand Up @@ -75,7 +75,7 @@ const SidebarDropdownItem = (props: TProps) => {
<Check className="h-5 w-5 text-custom-sidebar-text-100" />
</span>
) : (
<SubscriptionPill />
<SubscriptionPill workspace={workspace} />
)}
</div>
{workspace.id === activeWorkspace?.id && (
Expand Down

0 comments on commit 59ac4f2

Please sign in to comment.