1
0
Fork 0
mirror of https://github.com/codex-team/codex.docs.git synced 2025-08-07 22:45:23 +02:00

header height variable added

This commit is contained in:
Umang G. Patel 2022-10-11 23:51:50 +05:30
parent 0c48dea55c
commit 49d610f2f5

View file

@ -1,7 +1,8 @@
/** /**
* HEIGHT of the header in px * HEIGHT of the header in px
*/ */
const HEADER_HEIGHT = 56; const HEADER_HEIGHT = parseInt(window.getComputedStyle(
document.documentElement).getPropertyValue('--layout-height-header'));
/** /**
* Sidebar Search module. * Sidebar Search module.