Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
style: add bg highlight to icon button when data attribute open is true
Scott Wilsonc52dead27672
diff --git a/frontend/src/components/v3/generic/IconButton/IconButton.tsx b/frontend/src/components/v3/generic/IconButton/IconButton.tsxindex cab4e22ee1..c2f44d7289 100644--- a/frontend/src/components/v3/generic/IconButton/IconButton.tsx+++ b/frontend/src/components/v3/generic/IconButton/IconButton.tsx@@ -10,7 +10,8 @@ import { cn } from "@app/components/v3/utils";const iconButtonVariants = cva(cn("inline-flex items-center active:scale-[0.99] justify-center border cursor-pointer whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none shrink-0 [&>svg]:shrink-0",- "focus-visible:ring-ring outline-0 focus-visible:ring-2"+ "focus-visible:ring-ring outline-0 focus-visible:ring-2",+ "data-[state=open]:bg-foreground/5"),{variants: {