chore: Fix the Auth hook card CSS (#45415)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Style**
* Refined layout styling in the authentication hook interface to
optimize flex container behavior for improved responsiveness and visual
alignment.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
Ivan Vasilov
2026-04-30 16:06:17 +03:00
committed by GitHub
parent cdd3d54f37
commit 13df106d89
@@ -18,10 +18,10 @@ export const HookCard = ({ hook, onSelect }: HookCardProps) => {
return (
<div className="bg-surface-100 border-default overflow-hidden border shadow-sm px-5 py-4 flex flex-row first:rounded-t-md last:rounded-b-md space-x-4">
<div className="">
<div>
<Webhook size={21} strokeWidth="1" />
</div>
<div className="flex flex-col flex-0 overflow-y-auto w-full">
<div className="flex flex-col grow overflow-y-auto w-full">
<span className="text-sm text-foreground">{hook.title}</span>
<span className="text-sm text-foreground-lighter">{hook.subtitle}</span>
<div className="text-sm flex flex-row space-x-5 py-4">
@@ -112,7 +112,7 @@ export const HookCard = ({ hook, onSelect }: HookCardProps) => {
<DocsButton href={`${DOCS_URL}/guides/auth/auth-hooks/${hook.docSlug}`} />
</div>
</div>
<div className="flex-1">
<div>
{hook.enabled ? (
<Badge className="space-x-1" variant="success">
<div className="h-3.5 w-3.5 bg-brand rounded-full flex justify-center items-center">