about summary refs log tree commit diff
path: root/app/assets/stylesheets
diff options
context:
space:
mode:
authoralpaca-tc <alpaca-tc@alpaca.tc>2017-04-29 21:29:13 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-04-29 14:29:13 +0200
commit96c84da1d4da2c53f3a119c8c57629f49fa89fb6 (patch)
tree62822e384e85eef8b467ae6b2894bf222170d8fc /app/assets/stylesheets
parent7d36a76180ce6bb207c6755bdffeba0b4edb6824 (diff)
Expand uploaded thumbnail (#2611)
Diffstat (limited to 'app/assets/stylesheets')
-rw-r--r--app/assets/stylesheets/components.scss3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/assets/stylesheets/components.scss b/app/assets/stylesheets/components.scss
index 422575639..11d50673d 100644
--- a/app/assets/stylesheets/components.scss
+++ b/app/assets/stylesheets/components.scss
@@ -274,6 +274,9 @@
 
 .compose-form__upload-thumbnail {
   border-radius: 4px;
+  background-position: center;
+  background-size: cover;
+  background-repeat: no-repeat;
   height: 100px;
   width: 100%;
 }