address comment.

This commit is contained in:
Darshan authored and GitHub committed 2025-05-28 14:49:52 +05:30
1 parent 9eabedeee5
commit f05bc969c8
1 file changed
+1 -1
@@ -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);