Merge pull request #3731 from matrix-org/t3chguy/avatar_fixes
Fix aspect ratio on room/profile avatar preview
This commit is contained in:
commit
3ec60b1692
1 changed files with 4 additions and 0 deletions
|
@ -52,6 +52,10 @@ limitations under the License.
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.mx_ProfileSettings_avatar img {
|
||||||
|
object-fit: cover;
|
||||||
|
}
|
||||||
|
|
||||||
.mx_ProfileSettings_avatar .mx_ProfileSettings_avatarOverlay_disabled {
|
.mx_ProfileSettings_avatar .mx_ProfileSettings_avatarOverlay_disabled {
|
||||||
cursor: default;
|
cursor: default;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue