Skip to content
代码片段 群组 项目
未验证 提交 1eb5ae3f 编辑于 作者: Olena Horal-Koretska's avatar Olena Horal-Koretska 提交者: GitLab
浏览文件

Merge branch...

Merge branch '509301-404-and-other-error-pages-don-t-load-gitlab-ui-styles-but-try-to-use-gitlab-ui-components-no-vite' into 'master' 

Fix styles on error page when Vite is disabled

See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/179966



Merged-by: default avatarOlena Horal-Koretska <ohoralkoretska@gitlab.com>
Approved-by: default avatarPatrick Bajao <ebajao@gitlab.com>
Approved-by: default avatarOlena Horal-Koretska <ohoralkoretska@gitlab.com>
Co-authored-by: default avatarFlorie Guibert <fguibert@gitlab.com>
No related branches found
No related tags found
无相关合并请求
......@@ -3,14 +3,10 @@
%head
%meta{ :content => "width=device-width, initial-scale=1", :name => "viewport" }
%title= yield(:title)
- if vite_enabled?
= universal_stylesheet_link_tag 'errors'
= universal_stylesheet_link_tag 'application'
= universal_stylesheet_link_tag 'fonts'
= universal_stylesheet_link_tag 'tailwind'
- else
%style
= error_css
= universal_stylesheet_link_tag 'errors'
= universal_stylesheet_link_tag 'application'
= universal_stylesheet_link_tag 'fonts'
= universal_stylesheet_link_tag 'tailwind'
%body
.page-container
= yield
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册