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.
1 parent f0e6652 commit d66b84dCopy full SHA for d66b84d
packages/unity-bootstrap-theme/src/js/anchor-menu.js
@@ -24,7 +24,7 @@ function initAnchorMenu() {
24
// These values are for optionally present Drupal admin toolbars. They
25
// are not present in Storybook and not required in implementations.
26
const toolbarBarHeight =
27
- document.getElementById("toolbar-bar")?.toolbarBarHeight || 0;
+ document.getElementById("toolbar-bar")?.offsetHeight || 0;
28
const toolbarItemAdministrationTrayHeight =
29
document.getElementById("toolbar-item-administration-tray")?.offsetHeight ||
30
0;
0 commit comments