mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 04:48:53 +00:00
fix(core): text style is not centered when chat-panel is wide (#10607)
Fix issue [BS-2751](https://linear.app/affine-design/issue/BS-2751). Before:  After: 
This commit is contained in:
@@ -106,7 +106,7 @@ const clearChat = async (page: Page) => {
|
||||
const collectChat = async (page: Page) => {
|
||||
await page.waitForTimeout(ONE_SECOND);
|
||||
const chatPanel = await page.waitForSelector('.chat-panel-messages');
|
||||
if (await chatPanel.$('.chat-panel-messages-placeholder')) {
|
||||
if (await chatPanel.$('.messages-placeholder')) {
|
||||
return [];
|
||||
}
|
||||
// wait ai response
|
||||
|
||||
Reference in New Issue
Block a user