fix(web): stop update notices showing through the composer (#8083)
This commit is contained in:
1 parent
e6a109b9f7
commit
f035a0f4cd
2 files changed
+2
-2
No files matched your search
@@ -53,7 +53,7 @@ describe("ComposerBannerStack", () => {
|
||||
expect(markup).not.toContain("data-composer-banner-stack-expanded-items");
|
||||
expect(markup).toContain("chat-composer-drawer-surface");
|
||||
expect(markup).toContain("chat-composer-drawer-attached");
|
||||
expect(markup).toContain("before:mask-none");
|
||||
expect(markup).not.toContain("before:mask-none");
|
||||
expect(markup).toContain("text-xs");
|
||||
expect(markup).toContain('data-composer-banner-drawer="true"');
|
||||
expect(markup).toContain('data-variant="warning"');
|
||||
|
||||
@@ -199,7 +199,7 @@ function ComposerBannerStackAlert({
|
||||
variant={item.variant}
|
||||
className={cn(
|
||||
attached
|
||||
? "chat-composer-drawer-surface chat-composer-drawer-attached px-3 pt-2 pb-[calc(var(--chat-composer-attachment-overlap)_+_0.375rem)] text-xs before:mask-none sm:px-4"
|
||||
? "chat-composer-drawer-surface chat-composer-drawer-attached px-3 pt-2 pb-[calc(var(--chat-composer-attachment-overlap)_+_0.375rem)] text-xs sm:px-4"
|
||||
: "alert-glass rounded-[22px]",
|
||||
item.className,
|
||||
)}
|
||||
|
||||
Reference in new issue
Block a user