Skip to content

Commit 4dea108

Browse files
author
Andrey Velts
committed
fix(web): bound long background-work descriptions
1 parent 0fe7f80 commit 4dea108

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎apps/web/src/components/chat/ComposerBannerStack.tsx‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -362,9 +362,9 @@ function ComposerBannerStackAlert({
362362
<span className="min-w-0 truncate font-medium leading-7 sm:leading-6">{item.title}</span>
363363
{item.description ? (
364364
descriptionBelow ? (
365-
<span className="min-w-0 pb-1 text-muted-foreground whitespace-normal wrap-anywhere [--inline-button-text-align:start] [--inline-button-white-space:normal] [&_[data-slot=inline-button]]:max-w-full">
366-
{item.description}
367-
</span>
365+
<ComposerBanner.Scroll className="text-muted-foreground whitespace-normal wrap-anywhere [--inline-button-text-align:start] [--inline-button-white-space:normal] [&_[data-slot=inline-button]]:max-w-full">
366+
<span className="block pb-1">{item.description}</span>
367+
</ComposerBanner.Scroll>
368368
) : (
369369
<NoticeDescription>{item.description}</NoticeDescription>
370370
)

0 commit comments

Comments
 (0)