Fix incorrect sizing of DecoratedRoomAvatar in RoomHeader (#7697)

This commit is contained in:
Michael Telatynski 2022-02-02 09:22:27 +00:00 committed by GitHub
parent bb03298e6d
commit c011fb7475
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,18 +27,19 @@ limitations under the License.
.mx_DecoratedRoomAvatar_icon {
position: absolute;
bottom: -2px;
right: -2px;
margin: 4px;
width: 8px;
height: 8px;
// the following percentage based sizings are to match the scalable svg mask for the cutout
bottom: -6.25%;
right: -6.25%;
margin: 12.5%;
width: 25%;
height: 25%;
border-radius: 50%;
}
.mx_DecoratedRoomAvatar_icon::before {
content: '';
width: 8px;
height: 8px;
width: 100%;
height: 100%;
right: 0;
position: absolute;
border-radius: 8px;