about summary refs log tree commit diff
path: root/app/javascript/styles
diff options
context:
space:
mode:
authorYamagishi Kazutoshi <ykzts@desire.sh>2017-07-21 19:47:16 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-07-21 12:47:16 +0200
commitf2390e2803248ba8e37ee5bd50c36051552773e3 (patch)
tree94fb055f8bdcf30b9258aed402900317670bc3ed /app/javascript/styles
parentdbaa6a0e13b66ebd7cb0a622db55471f63da3d2f (diff)
Dynamicaly change avatar and header bg from account setting (#4289)
Diffstat (limited to 'app/javascript/styles')
-rw-r--r--app/javascript/styles/accounts.scss4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/javascript/styles/accounts.scss b/app/javascript/styles/accounts.scss
index d5c18e1e3..99eb5ebea 100644
--- a/app/javascript/styles/accounts.scss
+++ b/app/javascript/styles/accounts.scss
@@ -32,6 +32,10 @@
 
     .avatar {
       margin-bottom: 0;
+
+      img {
+        object-fit: cover;
+      }
     }
   }