address comment.

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