Skip to content

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

improvement: adjust toast styling to be a little sleeker

Scott Wilson5efc1127257a
diff --git a/frontend/src/components/notifications/Notifications.tsx b/frontend/src/components/notifications/Notifications.tsx
index c108b766e3..c2ff8f0b08 100644
--- a/frontend/src/components/notifications/Notifications.tsx
+++ b/frontend/src/components/notifications/Notifications.tsx
@@ -73,13 +73,13 @@ const NotificationBody = ({
{(callToAction || copyActions) && (
<div
className={twMerge(
- "mt-2 flex h-7 w-full flex-row items-end gap-2",
+ "mt-2 flex h-5 w-full flex-row items-end gap-2",
callToAction ? "justify-between" : "justify-end"
)}
>
{callToAction}
{copyActions && (
- <div className="flex h-7 flex-row items-center gap-2">
+ <div className="flex h-5 flex-row items-center gap-2">
{copyActions.map((action) => (
<div className="flex flex-row items-center gap-1.5" key={`copy-${action.name}`}>
{action.label && (
diff --git a/frontend/src/components/v3/generic/Toast/Toast.tsx b/frontend/src/components/v3/generic/Toast/Toast.tsx
index 932e533a14..907af5b779 100644
--- a/frontend/src/components/v3/generic/Toast/Toast.tsx
+++ b/frontend/src/components/v3/generic/Toast/Toast.tsx
@@ -23,7 +23,7 @@ const Toaster = ({ ...props }: ToasterProps) => {
}}
toastOptions={{
classNames: {
- toast: "!pointer-events-auto !items-start !rounded-md !pl-5",
+ toast: "!pointer-events-auto !items-start !rounded-md !pl-5 !py-3",
icon: "!mt-0.5",
title: "!text-sm !font-medium !text-foreground whitespace-pre-line",
description: "!text-xs !text-foreground/75 whitespace-pre-line",