mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
address comment.
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
});
|
||||
|
||||
const setNavigationHeight = () => {
|
||||
const alertHeight = container?.getBoundingClientRect().height || 0;
|
||||
const alertHeight = container?.getBoundingClientRect()?.height || 0;
|
||||
const { header, sidebar, content } = queryLayoutElements();
|
||||
const headerHeight = header?.getBoundingClientRect().height || 0;
|
||||
const offset = alertHeight + (!isTabletViewport && header ? headerHeight : 0);
|
||||
|
||||
Reference in New Issue
Block a user