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:
parent
0c48dea55c
commit
49d610f2f5
1 changed files with 2 additions and 1 deletions
|
@ -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.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue