Commit 2347d0e6 authored by Filipa Lacerda's avatar Filipa Lacerda

Adds responsive behaviour equal to the one in Pipelines and Builds table

parent 38963040
.environments-container,
.deployments-container {
width: 100%;
overflow: auto;
}
.environments {
.deployment-column {
.avatar {
......@@ -47,7 +53,6 @@
}
.table.builds.environments {
min-width: 500px;
.icon-container {
width: 20px;
......
......@@ -16,5 +16,5 @@
%td
#{time_ago_with_tooltip(deployment.created_at)}
%td
%td.hidden-xs
= render 'projects/deployments/actions', deployment: deployment, allow_rollback: true
......@@ -27,5 +27,5 @@
- if last_deployment
#{time_ago_with_tooltip(last_deployment.created_at)}
%td
%td.hidden-xs
= render 'projects/deployments/actions', deployment: last_deployment
......@@ -9,6 +9,7 @@
= link_to new_namespace_project_environment_path(@project.namespace, @project), class: 'btn btn-create' do
New environment
.environments-container
- if @environments.blank?
.blank-state.blank-state-no-icon
%h2.blank-state-title
......@@ -30,5 +31,5 @@
%th Build
%th Commit
%th
%th
%th.hidden-xs
= render @environments
......@@ -12,6 +12,7 @@
= link_to 'Edit', edit_namespace_project_environment_path(@project.namespace, @project, @environment), class: 'btn'
= link_to 'Destroy', namespace_project_environment_path(@project.namespace, @project, @environment), data: { confirm: 'Are you sure you want to delete this environment?' }, class: 'btn btn-danger', method: :delete
.deployments-container
- if @deployments.blank?
.blank-state.blank-state-no-icon
%h2.blank-state-title
......@@ -30,7 +31,7 @@
%th Commit
%th Build
%th
%th
%th.hidden-xs
= render @deployments
......
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