about summary refs log tree commit diff
path: root/app/assets/stylesheets
diff options
context:
space:
mode:
authorYamagishi Kazutoshi <ykzts@desire.sh>2017-04-24 11:10:32 +0900
committerEugen <eugen@zeonfederated.com>2017-04-24 04:10:32 +0200
commit72c984e1057306d1e4df49871b9fb658fd7cbcc6 (patch)
tree0fae4e490607eafaf6d269c101d692b972426f28 /app/assets/stylesheets
parent3d3707a077b83c5bee695e35f8aa67450e24ccd2 (diff)
Fix background-size being overwritten (#2382)
Diffstat (limited to 'app/assets/stylesheets')
-rw-r--r--app/assets/stylesheets/components.scss2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/assets/stylesheets/components.scss b/app/assets/stylesheets/components.scss
index 800c97a6b..feab81366 100644
--- a/app/assets/stylesheets/components.scss
+++ b/app/assets/stylesheets/components.scss
@@ -2999,6 +2999,8 @@ button.icon-button.active i.fa-retweet {
 }
 
 .media-gallery__item-thumbnail {
+  background-position: center;
+  background-repeat: no-repeat;
   background-size: cover;
   cursor: zoom-in;
   display: block;