diff --git a/resources/www/_shared/styles/_main-menu.scss b/resources/www/_shared/styles/_main-menu.scss index 9b6ed52ea2..dc99bdaf3f 100644 --- a/resources/www/_shared/styles/_main-menu.scss +++ b/resources/www/_shared/styles/_main-menu.scss @@ -33,6 +33,10 @@ $mainMenuBottomBorder: none !default; padding: 0; list-style: none outside none; } + #custom-link-container { + display: inline-block; + margin-left: 10px; + } #mainLogo { margin:0 10px; margin-top: 3px; diff --git a/templates/web/common/menubar.html.twig b/templates/web/common/menubar.html.twig index 672c3af509..484e98b052 100644 --- a/templates/web/common/menubar.html.twig +++ b/templates/web/common/menubar.html.twig @@ -104,6 +104,7 @@ {% endif %} + @@ -209,7 +210,7 @@ var spanElement = $('').attr('style', styleAttr).html(linksData.linkName); var links = '
  • ' + spanElement.prop("outerHTML") + '
  • '; - $('#mainMenu .menu-bar ol').append(links); + $('#mainMenu #custom-link-container').append(links); } }); } else if (key === 'help-menu') {