Commit 25f99d84 authored by Filipa Lacerda's avatar Filipa Lacerda

Fix css class

parent baddb887
...@@ -64,6 +64,7 @@ ...@@ -64,6 +64,7 @@
state: this.store.state, state: this.store.state,
visibility: 'available', visibility: 'available',
isLoading: false, isLoading: false,
cssContainerClass: environmentsData.cssClass,
endpoint: environmentsData.environmentsDataEndpoint, endpoint: environmentsData.environmentsDataEndpoint,
canCreateDeployment: environmentsData.canCreateDeployment, canCreateDeployment: environmentsData.canCreateDeployment,
canReadEnvironment: environmentsData.canReadEnvironment, canReadEnvironment: environmentsData.canReadEnvironment,
...@@ -150,7 +151,7 @@ ...@@ -150,7 +151,7 @@
}, },
template: ` template: `
<div class="container-fluid container-limited"> <div :class="cssContainerClass">
<div class="top-area"> <div class="top-area">
<ul v-if="!isLoading" class="nav-links"> <ul v-if="!isLoading" class="nav-links">
<li v-bind:class="{ 'active': scope === undefined }"> <li v-bind:class="{ 'active': scope === undefined }">
......
...@@ -16,4 +16,5 @@ ...@@ -16,4 +16,5 @@
"project-environments-path" => project_environments_path(@project), "project-environments-path" => project_environments_path(@project),
"project-stopped-environments-path" => project_environments_path(@project, scope: :stopped), "project-stopped-environments-path" => project_environments_path(@project, scope: :stopped),
"new-environment-path" => new_namespace_project_environment_path(@project.namespace, @project), "new-environment-path" => new_namespace_project_environment_path(@project.namespace, @project),
"help-page-path" => help_page_path("ci/environments")}, class: container_class } "help-page-path" => help_page_path("ci/environments"),
"css-class" => container_class}}
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