Browse Source

Merge branch 'krupupakku-master'

Lauri Ojansivu 5 years ago
parent
commit
6b9a7a3fc1

+ 2 - 0
client/components/cards/cardDetails.styl

@@ -40,6 +40,8 @@ avatar-radius = 50%
       position: absolute
 
     &.avatar-image
+      object-fit: cover;
+      object-position: center;
       height: 100%
       width: @height
 

+ 2 - 0
client/components/users/userAvatar.styl

@@ -29,6 +29,8 @@ avatar-radius = 50%
       position: absolute
 
     &.avatar-image
+      object-fit: cover;
+      object-position: center;
       height: 100%
       width: @height