fix(web): preserve plugin footer text layout (#41514)

This commit is contained in:
Jingyi 2026-08-31 05:50:29 +00:00 committed by GitHub
parent 5a5b9c6fec
commit 02222e8fce
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View File

@ -131,13 +131,13 @@ function IntegrationsToolProviderCard({
<div className="flex h-4 min-w-0 flex-1 items-center gap-0.5 system-xs-regular">
{!!org && (
<>
<div className="min-w-0 flex-1 truncate text-text-tertiary" title={org}>
<div className="min-w-0 shrink truncate text-text-tertiary" title={org}>
{org}
</div>
<div className="shrink-0 text-text-quaternary">/</div>
</>
)}
<div className="min-w-0 flex-1 truncate text-text-tertiary" title={name}>
<div className="min-w-0 shrink truncate text-text-tertiary" title={name}>
{name}
</div>
</div>

View File

@ -13,7 +13,7 @@ const OrgInfo = ({ className, orgName, packageName, packageNameClassName }: Prop
{orgName && (
<>
<span
className="min-w-0 flex-1 truncate system-xs-regular text-text-tertiary"
className="min-w-0 shrink truncate system-xs-regular text-text-tertiary"
title={orgName}
>
{orgName}
@ -23,7 +23,7 @@ const OrgInfo = ({ className, orgName, packageName, packageNameClassName }: Prop
)}
<span
className={cn(
'w-0 min-w-0 grow truncate system-xs-regular text-text-tertiary',
'min-w-0 shrink truncate system-xs-regular text-text-tertiary',
packageNameClassName,
)}
title={packageName}