feat(editor): remove flag control for database full-width (#9265)
This commit is contained in:
1 parent
42ab507d30
commit
40d8d83b4a
2 files changed
+1
-4
No files matched your search
@@ -379,9 +379,6 @@ export class DatabaseBlockComponent extends CaptionedBlockComponent<
|
||||
}
|
||||
|
||||
listenFullWidthChange() {
|
||||
if (!this.doc.awarenessStore.getFlag('enable_database_full_width')) {
|
||||
return;
|
||||
}
|
||||
if (this.std.get(DocModeProvider).getEditorMode() === 'edgeless') {
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -1780,7 +1780,7 @@ test('unexpected scroll when clicking padding area', async ({ page }) => {
|
||||
assertExists(databaseRect);
|
||||
await page.mouse.click(
|
||||
databaseRect.x + databaseRect.width + 10,
|
||||
databaseRect.y + 10
|
||||
databaseRect.y + 100
|
||||
);
|
||||
const newDatabaseRect = await database.boundingBox();
|
||||
// not scroll
|
||||
|
||||
Reference in new issue
Block a user