diff --git a/.storybook/preview-head.pug b/.storybook/preview-head.pug index 22e8e8f37a69048c1cc3a006dab7f692a3e288ec..636bca3166124d75452f95a1507cf710e4880ea2 100644 --- a/.storybook/preview-head.pug +++ b/.storybook/preview-head.pug @@ -27,8 +27,8 @@ script. linkStylesheet.setAttribute('rel', 'stylesheet'); linkStylesheet.setAttribute('media', 'all'); - const gitlabUiStyles = document.querySelector('style[data-gitlab-ui-style]'); + const head = document.querySelector('head'); - gitlabUiStyles.insertAdjacentElement('afterend', linkStylesheet); + head.appendChild(linkStylesheet); } });