We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fec2a49 + 342a253 commit 003a270Copy full SHA for 003a270
library/src/layouting/AppLayout.tsx
@@ -27,13 +27,12 @@ export function initTopNavigationHeight() {
27
)
28
return
29
}
30
- const topNavHeight = topNav[0].clientHeight
+ let topNavHeight = topNav[0].clientHeight
31
+ topNavHeight = 0 // this seems to be wrong and moving the page downwards
32
if (topNavHeight) {
- console.info("UIKitTs - Top navigation height set to:", topNavHeight)
33
document.documentElement.style.setProperty(
34
topNavigationHeightVar,
35
- //`${topNavHeight}px`, // this seems to be wrong and moving the page downwards
36
- "0",
+ `${topNavHeight}px`,
37
38
39
0 commit comments