mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 05:04:57 +08:00
Fix incorrect sizing of DecoratedRoomAvatar in RoomHeader (#7697)
This commit is contained in:
parent
bb03298e6d
commit
c011fb7475
@ -27,18 +27,19 @@ limitations under the License.
|
|||||||
|
|
||||||
.mx_DecoratedRoomAvatar_icon {
|
.mx_DecoratedRoomAvatar_icon {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: -2px;
|
// the following percentage based sizings are to match the scalable svg mask for the cutout
|
||||||
right: -2px;
|
bottom: -6.25%;
|
||||||
margin: 4px;
|
right: -6.25%;
|
||||||
width: 8px;
|
margin: 12.5%;
|
||||||
height: 8px;
|
width: 25%;
|
||||||
|
height: 25%;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_DecoratedRoomAvatar_icon::before {
|
.mx_DecoratedRoomAvatar_icon::before {
|
||||||
content: '';
|
content: '';
|
||||||
width: 8px;
|
width: 100%;
|
||||||
height: 8px;
|
height: 100%;
|
||||||
right: 0;
|
right: 0;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
|
Loading…
Reference in New Issue
Block a user