summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2018-06-05 14:34:04 +0000
committerPhil Hughes <me@iamphill.com>2018-06-05 14:34:04 +0000
commitefed7b6dc4a9db5f3789f30ebbf9748eb716f90f (patch)
tree17eba10e4a1a73cacbadaf24ab07fa242b0f5560
parent5426f09f4ab088f75bc84d043e2ac2fe4e852c44 (diff)
parent53b28804733e65aba896c3e4888be64aab1c3e64 (diff)
downloadgitlab-ce-efed7b6dc4a9db5f3789f30ebbf9748eb716f90f.tar.gz
Merge branch '41772-huge-artifacts-block' into 'master'
Resolve "Huge artifacts block" Closes #41772 See merge request gitlab-org/gitlab-ce!19421
-rw-r--r--app/assets/stylesheets/framework/layout.scss6
-rw-r--r--app/views/projects/blob/viewers/_download.html.haml2
2 files changed, 1 insertions, 7 deletions
diff --git a/app/assets/stylesheets/framework/layout.scss b/app/assets/stylesheets/framework/layout.scss
index 0536c39cee7..55c0bc76f23 100644
--- a/app/assets/stylesheets/framework/layout.scss
+++ b/app/assets/stylesheets/framework/layout.scss
@@ -115,9 +115,3 @@ body {
.with-performance-bar .layout-page {
margin-top: $header-height + $performance-bar-height;
}
-
-.vertical-center {
- min-height: 100vh;
- display: flex;
- align-items: center;
-}
diff --git a/app/views/projects/blob/viewers/_download.html.haml b/app/views/projects/blob/viewers/_download.html.haml
index f9b1da05a00..fda4b9c92cd 100644
--- a/app/views/projects/blob/viewers/_download.html.haml
+++ b/app/views/projects/blob/viewers/_download.html.haml
@@ -1,5 +1,5 @@
.file-content.blob_file.blob-no-preview
- .center.render-error.vertical-center
+ .center.render-error
= link_to blob_raw_path do
%h1.light
= sprite_icon('download')