The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Fix SAML/SCIM three-dots menu misalignment on mobile (#4362)
Steven Teye03e1e0d33c8
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/settings/security/saml.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/settings/security/saml.tsxindex 53819d20c5..87f0d2d9ff 100644--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/settings/security/saml.tsx+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/settings/security/saml.tsx@@ -63,7 +63,7 @@ export function SAML() {<imgsrc={currentProvider.logo}alt={currentProvider.name}- className="h-8 w-8"+ className="h-8 w-8 shrink-0"/>),title: `${currentProvider.name} SAML`,@@ -73,7 +73,7 @@ export function SAML() {return {status: "unconfigured",logo: (- <div className="rounded-full border border-neutral-200 p-2">+ <div className="shrink-0 rounded-full border border-neutral-200 p-2"><Lock className="h-4 w-4 text-neutral-600" /></div>),@@ -130,12 +130,12 @@ export function SAML() {</div><div className="rounded-xl border border-neutral-200 bg-white">- <div className="flex flex-col items-start justify-between space-y-4 px-4 py-4 sm:flex-row sm:items-center sm:justify-between sm:space-y-0">- <div className="flex flex-col items-start gap-4 sm:flex-row sm:items-center">+ <div className="flex items-center justify-between gap-4 px-4 py-4">+ <div className="flex min-w-0 items-center gap-4">{data.logo || (- <div className="h-8 w-8 animate-pulse rounded-full bg-neutral-100" />+ <div className="h-8 w-8 shrink-0 animate-pulse rounded-full bg-neutral-100" />)}- <div className="flex flex-col">+ <div className="flex min-w-0 flex-col">{data.title ? (<h3 className="font-medium">{data.title}</h3>) : (@@ -150,7 +150,7 @@ export function SAML() {)}</div></div>- <div>+ <div className="shrink-0">{loading ? (<div className="h-9 w-24 animate-pulse rounded-md bg-neutral-100" />) : configured ? (diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/settings/security/scim.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/settings/security/scim.tsxindex e99dae4a8b..df600ea2d8 100644--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/settings/security/scim.tsx+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/settings/security/scim.tsx@@ -37,7 +37,7 @@ export function SCIM() {<imgsrc={SAML_PROVIDERS.find((p) => p.scim === provider)!.logo}alt={`${provider} logo`}- className="h-8 w-8"+ className="h-8 w-8 shrink-0"/>),title: `${SAML_PROVIDERS.find((p) => p.scim === provider)!.name} SCIM`,@@ -46,7 +46,7 @@ export function SCIM() {} elsereturn {logo: (- <div className="rounded-full border border-neutral-200 p-2">+ <div className="shrink-0 rounded-full border border-neutral-200 p-2"><FolderSync className="h-4 w-4 text-neutral-600" /></div>),@@ -74,12 +74,12 @@ export function SCIM() {</div><div className="rounded-xl border border-neutral-200 bg-white">- <div className="flex flex-col items-start justify-between space-y-4 px-4 py-4 sm:flex-row sm:items-center sm:justify-between sm:space-y-0">- <div className="flex flex-col items-start gap-4 sm:flex-row sm:items-center">+ <div className="flex items-center justify-between gap-4 px-4 py-4">+ <div className="flex min-w-0 items-center gap-4">{data.logo || (- <div className="h-8 w-8 animate-pulse rounded-full bg-neutral-100" />+ <div className="h-8 w-8 shrink-0 animate-pulse rounded-full bg-neutral-100" />)}- <div className="flex flex-col">+ <div className="flex min-w-0 flex-col">{data.title ? (<h3 className="font-medium">{data.title}</h3>) : (@@ -94,7 +94,7 @@ export function SCIM() {)}</div></div>- <div>+ <div className="shrink-0">{loading ? (<div className="h-9 w-24 animate-pulse rounded-md bg-neutral-100" />) : configured ? (