Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

fix(frontend): preserve button shape in credential select when content is long (#11577)

Abhimanyu Yadav130532581307
diff --git a/autogpt_platform/frontend/src/components/renderers/input-renderer/fields/CredentialField/SelectCredential.tsx b/autogpt_platform/frontend/src/components/renderers/input-renderer/fields/CredentialField/SelectCredential.tsx
index 602c9b0e2d..55081332aa 100644
--- a/autogpt_platform/frontend/src/components/renderers/input-renderer/fields/CredentialField/SelectCredential.tsx
+++ b/autogpt_platform/frontend/src/components/renderers/input-renderer/fields/CredentialField/SelectCredential.tsx
@@ -84,7 +84,7 @@ export const SelectCredential: React.FC<SelectCredentialProps> = ({
rel="noopener noreferrer"
variant="outline"
size="icon"
- className="h-8 w-8 border-zinc-300 p-0"
+ className="h-8 w-8 !min-w-8 border-zinc-300 p-0"
>
<ArrowSquareOutIcon className="h-4 w-4 text-zinc-600" />
</Button>