diff options
Diffstat (limited to 'client')
-rw-r--r-- | client/components/cards/cardDetails.styl | 2 | ||||
-rw-r--r-- | client/components/users/userAvatar.styl | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/client/components/cards/cardDetails.styl b/client/components/cards/cardDetails.styl index 3e2beadd..4ca23f39 100644 --- a/client/components/cards/cardDetails.styl +++ b/client/components/cards/cardDetails.styl @@ -37,6 +37,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 |