diff options
author | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-06-05 20:52:34 -0500 |
---|---|---|
committer | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-06-05 20:52:34 -0500 |
commit | 5a62e99406653a5eeaca13c148a809850e0c3ca5 (patch) | |
tree | 036f53a10219f3778c749859fec4d5a7ac6256a8 | |
parent | 44d9eb7c5ba90b78bc12c4bf1916fb9fbf51d892 (diff) | |
download | gitlab-ce-responsive-environment-table-2.tar.gz |
Tweak column widthsresponsive-environment-table-2
-rw-r--r-- | app/assets/stylesheets/framework/responsive-tables.scss | 2 | ||||
-rw-r--r-- | app/views/projects/deployments/_deployment.html.haml | 4 | ||||
-rw-r--r-- | app/views/projects/environments/show.html.haml | 1 |
3 files changed, 3 insertions, 4 deletions
diff --git a/app/assets/stylesheets/framework/responsive-tables.scss b/app/assets/stylesheets/framework/responsive-tables.scss index 337a81da470..a24483fa431 100644 --- a/app/assets/stylesheets/framework/responsive-tables.scss +++ b/app/assets/stylesheets/framework/responsive-tables.scss @@ -23,7 +23,7 @@ max-width: 100%; } - $section-widths: 10 15 25 30 40; + $section-widths: 10 15 20 25 30 40; @each $width in $section-widths { &.section-#{$width} { flex: 0 0 #{$width + '%'}; diff --git a/app/views/projects/deployments/_deployment.html.haml b/app/views/projects/deployments/_deployment.html.haml index 686f711c0ae..d6822106266 100644 --- a/app/views/projects/deployments/_deployment.html.haml +++ b/app/views/projects/deployments/_deployment.html.haml @@ -1,5 +1,5 @@ .gl-responsive-table-row.deployment - .table-section.section-15{ role: 'gridcell' } + .table-section.section-10{ role: 'gridcell' } %strong ##{deployment.iid} .table-section.section-40{ role: 'gridcell' } @@ -16,7 +16,7 @@ .table-section.section-15{ role: 'gridcell' } #{time_ago_with_tooltip(deployment.created_at)} - .table-section.section-15.environments-actions.table-button-footer{ role: 'gridcell' } + .table-section.section-20.environments-actions.table-button-footer{ role: 'gridcell' } .btn-group.environment-action-buttons = render 'projects/deployments/actions', deployment: deployment = render 'projects/deployments/rollback', deployment: deployment diff --git a/app/views/projects/environments/show.html.haml b/app/views/projects/environments/show.html.haml index c6e874e88fb..6d6e2bc5293 100644 --- a/app/views/projects/environments/show.html.haml +++ b/app/views/projects/environments/show.html.haml @@ -34,7 +34,6 @@ .table-section.section-40{ role: 'rollheader' } Commit .table-section.section-15{ role: 'rollheader' } Job .table-section.section-15{ role: 'rollheader' } Created - .table-section.section-15{ role: 'rollheader' } = render @deployments |