Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConnor Shea <connor.james.shea@gmail.com>2016-08-08 19:36:32 +0300
committerConnor Shea <connor.james.shea@gmail.com>2016-08-08 19:36:32 +0300
commitc887d2131f02ffe88722d276e3a8cf3bcf9a74f2 (patch)
tree3203affa7aa7379570c209e5c59658bbec5f93f2 /app/assets/stylesheets/framework/files.scss
parentfd3a2cf76318a84dc6d3bab9bd9a767c5112106d (diff)
Fix small image previews in the file viewer.
See also https://gitlab.com/gitlab-org/gitlab-ce/issues/20505#note_13670085
Diffstat (limited to 'app/assets/stylesheets/framework/files.scss')
-rw-r--r--app/assets/stylesheets/framework/files.scss5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/assets/stylesheets/framework/files.scss b/app/assets/stylesheets/framework/files.scss
index 407f1873431..1ccc331458b 100644
--- a/app/assets/stylesheets/framework/files.scss
+++ b/app/assets/stylesheets/framework/files.scss
@@ -63,9 +63,10 @@
&.image_file {
background: #eee;
text-align: center;
+
img {
- padding: 100px;
- max-width: 50%;
+ padding: 20px;
+ max-width: 100%;
}
}