Skip to content

Commit aeda6a8

Browse files
authored
fix: third-party auth layout (supabase#45470)
## before <img width="1278" height="397" alt="image" src="https://github.com/user-attachments/assets/ba57eca0-81cc-4fa4-929a-8d42933e66e1" /> ## after <img width="1265" height="492" alt="image" src="https://github.com/user-attachments/assets/c09e081e-bcfd-43ea-960a-eedef0494c7d" /> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit ## Release Notes * **Style** * Improved the integration card layout for better content visibility and status badge positioning. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent e4d3ab0 commit aeda6a8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

apps/studio/components/interfaces/Auth/ThirdPartyAuthForm/IntegrationCard.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ export const IntegrationCard = ({
191191
<div className="py-1">
192192
<Image src={getIntegrationTypeIcon(type)} width={21} height={21} alt={`${type} icon`} />
193193
</div>
194-
<div className="flex flex-col flex-0 overflow-y-auto w-full gap-y-4">
194+
<div className="flex min-w-0 flex-1 flex-col gap-y-4 overflow-y-auto">
195195
<div className="text-sm flex flex-col">
196196
<span className="text-foreground">{getIntegrationTypeLabel(type)}</span>
197197
<div className="text-foreground-lighter">{getIntegrationTypeDescription(type)}</div>
@@ -206,7 +206,7 @@ export const IntegrationCard = ({
206206
</Button>
207207
</div>
208208
</div>
209-
<div className="flex-1">
209+
<div className="shrink-0">
210210
{true ? (
211211
<Badge className="space-x-1" variant="success">
212212
<div className="h-3.5 w-3.5 bg-brand rounded-full flex justify-center items-center">

0 commit comments

Comments
 (0)