mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-25 10:22:55 +08:00
fix(editor): width and height of embed block (#10223)
This commit is contained in:
@@ -263,7 +263,7 @@ test.describe('embed card toolbar', () => {
|
||||
const listStyleBookmarkBox = await bookmark.boundingBox();
|
||||
assertExists(listStyleBookmarkBox);
|
||||
assertAlmostEqual(listStyleBookmarkBox.width, 752, 2);
|
||||
assertAlmostEqual(listStyleBookmarkBox.height, 46, 2);
|
||||
assertAlmostEqual(listStyleBookmarkBox.height, 48, 2);
|
||||
|
||||
await openCardStyleMenu();
|
||||
await cardStyleHorizontalButton.click();
|
||||
|
||||
Reference in New Issue
Block a user