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

Fix aspect ratio on room/profile avatar preview
pull/21833/head
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
1 changed files with 4 additions and 0 deletions

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;
}