From fc954749eace61d448fe8cc04c7fc0126bdbcdee Mon Sep 17 00:00:00 2001 From: "Luke \"Jared\" Bennett" Date: Fri, 28 Apr 2017 12:15:07 +0100 Subject: Corrected styling, less hacky --- app/assets/stylesheets/framework/files.scss | 29 ++++++----------------------- 1 file changed, 6 insertions(+), 23 deletions(-) (limited to 'app/assets') diff --git a/app/assets/stylesheets/framework/files.scss b/app/assets/stylesheets/framework/files.scss index 3737ae3e653..a95ce4cc963 100644 --- a/app/assets/stylesheets/framework/files.scss +++ b/app/assets/stylesheets/framework/files.scss @@ -162,31 +162,14 @@ } .list-inline.previews { - display: inline-block; + display: flex; + flex-wrap: wrap; + justify-content: center; + align-content: flex-start; + align-items: baseline; .preview { - 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; + padding: $gl-padding; } } } -- cgit v1.2.1