fix: access token success modal (#5202)

This commit is contained in:
Laurin Quast 2024-07-11 16:16:12 +02:00 committed by GitHub
parent 7aa919e58c
commit f85971df27
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 6 deletions

View file

@ -64,7 +64,9 @@ export function ChannelsTable(props: {
{renderChannelEndpoint(channel)}
</Td>
<Td className="flex max-w-24 content-end">
<Tag color={colorMap[channel.type]}>{channel.type}</Tag>
<Tag color={colorMap[channel.type]} className="whitespace-nowrap">
{channel.type}
</Tag>
</Td>
</Tr>
))}

View file

@ -19,11 +19,7 @@ export function Tag({
}): ReactElement {
return (
<span
className={cn(
'inline-flex items-center gap-x-1 whitespace-nowrap rounded-sm p-2',
colors[color],
className,
)}
className={cn('inline-flex items-center gap-x-1 rounded-sm p-2', colors[color], className)}
>
{children}
</span>