Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions apps/web/src/components/settings/ProviderInstanceCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ function ProviderAuthEmail(props: {
if (!trimmed) return null;

return (
<span className="inline-flex min-w-0 items-center gap-1.5">
<span className="inline-flex min-w-0 max-w-full items-baseline gap-1.5">
{props.separator ? <span aria-hidden>·</span> : null}
{props.prefix ? <span className="text-muted-foreground/80">{props.prefix}</span> : null}
<RedactedSensitiveText
Expand Down Expand Up @@ -917,7 +917,7 @@ export function ProviderInstanceCard({
<span className={cn("size-1.5 shrink-0 rounded-full", statusStyle.dot)} aria-hidden />
) : null;
const statusLineClassName =
"flex min-w-0 flex-wrap items-center gap-x-1.5 text-[13px] leading-[1.45] text-muted-foreground/80";
"flex min-w-0 flex-wrap items-baseline gap-x-1.5 text-[13px] leading-[1.45] text-muted-foreground/80";

// The editor's status line. It doubles as the account identity row, so the
// redacted email lives here rather than in the list, where a masked address
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/components/settings/RedactedSensitiveText.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export function RedactedSensitiveText(props: {
<button
type="button"
className={cn(
"min-w-0 cursor-pointer rounded-sm font-mono text-[11px] leading-none transition hover:text-foreground",
"min-w-0 max-w-full cursor-pointer rounded-sm font-mono text-left text-[11px] leading-normal [overflow-wrap:anywhere] transition hover:text-foreground",
revealed ? "text-muted-foreground" : "select-none text-muted-foreground blur-[2px]",
props.className,
)}
Expand Down
Loading