Merge pull request #3731 from matrix-org/t3chguy/avatar_fixes

Fix aspect ratio on room/profile avatar preview
This commit is contained in:
Michael Telatynski 2019-12-16 16:22:51 +00:00 committed by GitHub
commit 3ec60b1692
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -52,6 +52,10 @@ limitations under the License.
border-radius: 4px;
}
.mx_ProfileSettings_avatar img {
object-fit: cover;
}
.mx_ProfileSettings_avatar .mx_ProfileSettings_avatarOverlay_disabled {
cursor: default;
}