Commit 92030969 authored by David O'Regan's avatar David O'Regan

Merge branch 'add-cloak-startup-css' into 'master'

Add cloak-startup class and apply to mobile overlay

See merge request gitlab-org/gitlab!71148
parents ebf8b3cd b4d6183a
......@@ -2,6 +2,8 @@
Prevent flashing of content when using startup.css
*/
@mixin cloak-startup-scss($display) {
// General selector for cloaking until ready
.cloak-startup,
// Breadcrumbs and alerts on the top of the page
.content-wrapper > .alert-wrapper,
// Content on pages
......
......@@ -2,4 +2,5 @@
- view_model = top_nav_responsive_view_model(project: @project, group: @group)
.top-nav-responsive{ class: top_class }
.cloak-startup
#js-top-nav-responsive{ data: { view_model: view_model.to_json } }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment