diff options
author | Tim Zallmann <tzallmann@gitlab.com> | 2018-07-26 11:15:13 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2018-07-26 11:15:13 +0300 |
commit | 4d3c6f46035a25e3ff9f6ff5f72773e3301b3960 (patch) | |
tree | c9ea4201a116d0c08b6ab8f171daecf82b9b1a8f /app | |
parent | 117567fabdabd433421aefdd81297f0e23ad8a26 (diff) |
Moved repo.css to its own CSS bundle to reduce the size of the main bundle
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/stylesheets/page_bundles/ide.scss (renamed from app/assets/stylesheets/pages/repo.scss) | 3 | ||||
-rw-r--r-- | app/views/ide/index.html.haml | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/app/assets/stylesheets/pages/repo.scss b/app/assets/stylesheets/page_bundles/ide.scss index 2d76f0ce004..442a5e07a86 100644 --- a/app/assets/stylesheets/pages/repo.scss +++ b/app/assets/stylesheets/page_bundles/ide.scss @@ -1,3 +1,6 @@ +@import 'framework/variables'; +@import 'framework/mixins'; + .project-refs-form, .project-refs-target-form { display: inline-block; diff --git a/app/views/ide/index.html.haml b/app/views/ide/index.html.haml index 9f8b0acd763..d29dda43c89 100644 --- a/app/views/ide/index.html.haml +++ b/app/views/ide/index.html.haml @@ -1,6 +1,9 @@ - @body_class = 'ide' - page_title 'IDE' +- content_for :page_specific_javascripts do + = stylesheet_link_tag 'page_bundles/ide' + #ide.ide-loading{ data: {"empty-state-svg-path" => image_path('illustrations/multi_file_editor_empty.svg'), "no-changes-state-svg-path" => image_path('illustrations/multi-editor_no_changes_empty.svg'), "committed-state-svg-path" => image_path('illustrations/multi-editor_all_changes_committed_empty.svg'), |