summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2020-05-13 02:51:04 +0300
committerLauri Ojansivu <x@xet7.org>2020-05-13 02:51:04 +0300
commit6b9a7a3fc14ea74610aeabf6fdf5089b46521741 (patch)
treed0aab871a45277a74bc130d99ebc12ef83f1fede
parent0a51ea753fa39931763ebb47798ae00be0d8b73b (diff)
parent8f335171427286df4b91610e003747eb0d2fb38d (diff)
downloadwekan-6b9a7a3fc14ea74610aeabf6fdf5089b46521741.tar.gz
wekan-6b9a7a3fc14ea74610aeabf6fdf5089b46521741.tar.bz2
wekan-6b9a7a3fc14ea74610aeabf6fdf5089b46521741.zip
Merge branch 'krupupakku-master'
-rw-r--r--client/components/cards/cardDetails.styl2
-rw-r--r--client/components/users/userAvatar.styl2
2 files changed, 4 insertions, 0 deletions
diff --git a/client/components/cards/cardDetails.styl b/client/components/cards/cardDetails.styl
index 2d2d7ccf..95fee7ed 100644
--- a/client/components/cards/cardDetails.styl
+++ b/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
diff --git a/client/components/users/userAvatar.styl b/client/components/users/userAvatar.styl
index b962b01c..8209f4a1 100644
--- a/client/components/users/userAvatar.styl
+++ b/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