Skip to content

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

fix layout

Thiago Araujo da Silvad3bc05d909d8
diff --git a/frontend/src/views/Alerts/WebhookAuthenticationField.tsx b/frontend/src/views/Alerts/WebhookAuthenticationField.tsx
index 462dc062f7..b5b9fb3579 100644
--- a/frontend/src/views/Alerts/WebhookAuthenticationField.tsx
+++ b/frontend/src/views/Alerts/WebhookAuthenticationField.tsx
@@ -74,14 +74,10 @@ export const WebhookAuthenticationField = ({ index }: Props) => {
hasSavedSecret && !needsReentry ? KEEP_PLACEHOLDER : secret.label;
return (
- <TabsContent key={type} value={type} className="@container mt-0 flex flex-col gap-2">
- <div className="flex flex-col gap-2 @md:flex-row @md:items-start">
+ <TabsContent key={type} value={type} className="mt-0 flex flex-col gap-2">
+ <div className="flex items-start gap-2">
{name && (
- <Field
- className={
- type === WebhookAuthType.Basic ? "min-w-0 @md:flex-1" : "@md:w-2/5"
- }
- >
+ <Field className={type === WebhookAuthType.Basic ? "min-w-0 flex-1" : "w-1/3"}>
<Input
aria-label={name.label}
placeholder={name.placeholder}
@@ -91,7 +87,7 @@ export const WebhookAuthenticationField = ({ index }: Props) => {
<FieldError errors={[channelErrors?.[name.field]]} />
</Field>
)}
- <Field className="min-w-0 @md:flex-1">
+ <Field className="min-w-0 flex-1">
<ChannelSecretInput
id={`channel-${index}-${secret.field}`}
ariaLabel={secret.label}