Skip to content

armgit / plane

Public Imported from GitHub
0

πŸ”₯πŸ”₯πŸ”₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.

fix: inbox filters checkbox (#5239)

Anmol Singh Bhatia9c761a614f2f
diff --git a/web/core/components/workspace-notifications/sidebar/filters/menu/menu-option-item.tsx b/web/core/components/workspace-notifications/sidebar/filters/menu/menu-option-item.tsx
index cf894e1879..144ba90fe6 100644
--- a/web/core/components/workspace-notifications/sidebar/filters/menu/menu-option-item.tsx
+++ b/web/core/components/workspace-notifications/sidebar/filters/menu/menu-option-item.tsx
@@ -31,12 +31,12 @@ export const NotificationFilterOptionItem: FC<{ label: string; value: ENotificat
onClick={() => handleFilterTypeChange(value, !isSelected)}
>
<div
- className={cn(
- "flex-shrink-0 w-3 h-3 flex justify-center items-center rounded-sm transition-all",
- isSelected ? "bg-custom-primary-100" : "bg-custom-background-90"
- )}
+ className={cn("flex-shrink-0 w-3 h-3 flex justify-center items-center rounded-sm transition-all", {
+ "bg-custom-primary text-white": isSelected,
+ "bg-custom-background-90": !isSelected,
+ })}
>
- {isSelected && <Check className="h-2 w-2" />}
+ {isSelected && <Check className="h-2.5 w-2.5" />}
</div>
<div className={cn("whitespace-nowrap text-sm", isSelected ? "text-custom-text-100" : "text-custom-text-200")}>
{label}