Commit c114297f authored by Tim Zallmann's avatar Tim Zallmann

Merge branch 'startup-css-flickering-of-content' into 'master'

Improve startup.css cloaking

See merge request gitlab-org/gitlab!39115
parents 4ffcf850 b3f312b2
......@@ -53,7 +53,5 @@
}
/* Rules for overriding cloaking in startup-general.scss */
.container-limited,
.modal-dialog {
display: block;
}
@import 'startup/cloaking';
@include cloak-startup-scss(block);
/**
Prevent flashing of content when using startup.css
*/
@mixin cloak-startup-scss($display) {
// Breadcrumbs and alerts on the top of the page
.content-wrapper > .alert-wrapper,
// Content on pages
#content-body,
// Prevent flashing of haml generated modal contents
.modal-dialog {
display: $display;
}
}
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