Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Fix incorrect sizing of DecoratedRoomAvatar in RoomHeader (#7697)
Browse files Browse the repository at this point in the history
  • Loading branch information
t3chguy authored Feb 2, 2022
1 parent bb03298 commit c011fb7
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions res/css/views/avatars/_DecoratedRoomAvatar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c011fb7

Please sign in to comment.