Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

improvement: adjust v3 calendar styling and secret reminder popover placement

Scott Wilsone547c3a9f216
diff --git a/frontend/src/components/v3/generic/Calendar/Calendar.tsx b/frontend/src/components/v3/generic/Calendar/Calendar.tsx
index 2e5d2f51f7..0cc90ff5f7 100644
--- a/frontend/src/components/v3/generic/Calendar/Calendar.tsx
+++ b/frontend/src/components/v3/generic/Calendar/Calendar.tsx
@@ -119,7 +119,7 @@ function Calendar({
table: "w-full border-collapse",
weekdays: cn("flex", defaultClassNames.weekdays),
weekday: cn(
- "text-muted-foreground rounded-(--cell-radius) flex-1 font-normal text-[0.8rem] select-none",
+ "text-muted rounded-(--cell-radius) flex-1 font-normal text-[0.8rem] select-none",
defaultClassNames.weekday
),
week: cn("flex w-full mt-2", defaultClassNames.week),
@@ -145,14 +145,14 @@ function Calendar({
defaultClassNames.range_end
),
today: cn(
- "bg-muted text-foreground rounded-(--cell-radius) data-[selected=true]:rounded-none",
+ "bg-muted/50 [&_button]:text-foreground rounded-(--cell-radius) data-[selected=true]:rounded-none",
defaultClassNames.today
),
outside: cn(
- "text-muted-foreground aria-selected:text-muted-foreground",
+ "[&_button]:text-accent [&_button]:aria-selected:text-accent",
defaultClassNames.outside
),
- disabled: cn("text-muted-foreground opacity-50", defaultClassNames.disabled),
+ disabled: cn("[&_button]:text-accent opacity-50", defaultClassNames.disabled),
hidden: cn("invisible", defaultClassNames.hidden),
...classNames
}}
diff --git a/frontend/src/pages/secret-manager/OverviewPage/components/SecretTableRow/SecretEditTableRow.tsx b/frontend/src/pages/secret-manager/OverviewPage/components/SecretTableRow/SecretEditTableRow.tsx
index 66e5d96c70..21f4a5b627 100644
--- a/frontend/src/pages/secret-manager/OverviewPage/components/SecretTableRow/SecretEditTableRow.tsx
+++ b/frontend/src/pages/secret-manager/OverviewPage/components/SecretTableRow/SecretEditTableRow.tsx
@@ -700,7 +700,7 @@ export const SecretEditTableRow = ({
<PopoverContent
onCloseAutoFocus={(e) => e.preventDefault()}
className="w-[420px]"
- align="end"
+ side="left"
>
{secretId && (
<SecretReminderForm