From cc248f3e7be6ae3cfd0d9f24eae92500e14b9e98 Mon Sep 17 00:00:00 2001 From: "Luke \"Jared\" Bennett" <lbennett@gitlab.com> Date: Wed, 26 Apr 2017 14:05:13 +0100 Subject: [PATCH] Swapped flex out for grid system --- app/assets/stylesheets/framework/files.scss | 28 +++++++++++++++++---- 1 file changed, 23 insertions(+), 5 deletions(-) diff --git a/app/assets/stylesheets/framework/files.scss b/app/assets/stylesheets/framework/files.scss index 099187a5193..3737ae3e653 100644 --- a/app/assets/stylesheets/framework/files.scss +++ b/app/assets/stylesheets/framework/files.scss @@ -162,13 +162,31 @@ } .list-inline.previews { - display: flex; - flex-wrap: wrap; - justify-content: space-between; - padding: $gl-padding; + display: inline-block; .preview { - flex-shrink: 0; + display: inline-block; + height: 280px; + min-width: 260px; + margin: 0; + padding: 16px; + @include make-xs-column(3); + } + + .panel { + margin: 0; + height: 100%; + + .panel-body { + padding: $gl-padding 0 0; + text-align: center; + } + } + + .img-thumbnail { + max-height: 195px; + max-width: 195px; + padding: 0; } } } -- GitLab