diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-08-08 09:10:23 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-08-08 09:10:23 +0300 |
commit | e433a55ab47846a9befaec027cfb426b0d30dda3 (patch) | |
tree | 852ab298680e256e5be102cce38aecfa72003510 /app/views/layouts/application.html.haml | |
parent | 5500dd34b9b489ee5c6609c8988bfe039f37e3e9 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/views/layouts/application.html.haml')
-rw-r--r-- | app/views/layouts/application.html.haml | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index 53e88d95893..28cbdf0a7a1 100644 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -13,10 +13,13 @@ = header_message - if show_super_sidebar? # TODO: Move this CSS to a better place - :css - body { - --header-height: 0px; - } + - if current_user + :css + body { + --header-height: 0px; + } + - else + = render partial: "layouts/header/super_sidebar_logged_out" - else = render partial: "layouts/header/default", locals: { project: @project, group: @group } = render 'layouts/page', sidebar: sidebar, nav: nav |