summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/framework/files.scss
diff options
context:
space:
mode:
authorLuke "Jared" Bennett <lbennett@gitlab.com>2017-04-28 12:15:07 +0100
committerLuke "Jared" Bennett <lbennett@gitlab.com>2017-04-28 12:15:07 +0100
commitfc954749eace61d448fe8cc04c7fc0126bdbcdee (patch)
tree76bf285843d4389c832567773de6f6c30a04c0b1 /app/assets/stylesheets/framework/files.scss
parenta67a648b0055334dbcfe0b20e01cd7b1401d2a0a (diff)
downloadgitlab-ce-fc954749eace61d448fe8cc04c7fc0126bdbcdee.tar.gz
Corrected styling, less hacky
Diffstat (limited to 'app/assets/stylesheets/framework/files.scss')
-rw-r--r--app/assets/stylesheets/framework/files.scss29
1 files changed, 6 insertions, 23 deletions
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;
}
}
}