mirror of
https://github.com/amitwh/markdown-converter.git
synced 2026-08-03 02:11:07 +05:30
feat(renderer): AppShell with resizable panes, sidebar/preview toggle, persisted sizes
This commit is contained in:
@@ -27,3 +27,9 @@ if (typeof window !== 'undefined') {
|
||||
}),
|
||||
});
|
||||
}
|
||||
|
||||
// Mock react-resizable-panels for jsdom environment
|
||||
if (typeof window !== 'undefined') {
|
||||
Object.defineProperty(window, 'innerWidth', { writable: true, value: 1920 });
|
||||
Object.defineProperty(window, 'innerHeight', { writable: true, value: 1080 });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user