From c6fee8f0aa26a42d6623faa35c2b405dc66b05f9 Mon Sep 17 00:00:00 2001 From: Paul Gascou-Vaillancourt Date: Wed, 8 Apr 2020 14:55:33 +0000 Subject: [PATCH] Revert "Merge branch '700-fix-import-order-for-include-gitlab-css-bundle' into 'master'" This reverts merge request !1258 --- .storybook/preview-head.pug | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.storybook/preview-head.pug b/.storybook/preview-head.pug index 636bca3166..22e8e8f37a 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 head = document.querySelector('head'); + const gitlabUiStyles = document.querySelector('style[data-gitlab-ui-style]'); - head.appendChild(linkStylesheet); + gitlabUiStyles.insertAdjacentElement('afterend', linkStylesheet); } }); -- GitLab