diff --git a/src/frontend/src/components/keypairListComponent/index.tsx b/src/frontend/src/components/keypairListComponent/index.tsx index f1e93e7fc..540975682 100644 --- a/src/frontend/src/components/keypairListComponent/index.tsx +++ b/src/frontend/src/components/keypairListComponent/index.tsx @@ -24,7 +24,7 @@ export default function KeypairListComponent({ useEffect(() => { if (JSON.stringify(value) !== JSON.stringify(ref.current)) { ref.current = value; - onChange(value); + onChange(value, ref); } }, [value]); diff --git a/src/frontend/src/style/applies.css b/src/frontend/src/style/applies.css index 5ea9f5086..c02e8e0fa 100644 --- a/src/frontend/src/style/applies.css +++ b/src/frontend/src/style/applies.css @@ -853,7 +853,7 @@ } .api-modal-tabs { - @apply flex h-full flex-col overflow-hidden rounded-md border bg-muted text-center max-lg:w-full sm:w-[75vw] lg:w-full; + @apply flex h-full flex-col overflow-hidden rounded-md border bg-muted text-center sm:w-[75vw] md:w-[75vw] lg:w-[75vw] xl:w-[76vw] 2xl:w-full; } .api-modal-tablist-div { @apply flex items-center justify-between px-2;