Put tooltips on presence consistently

Sort out duplication between presence icon code, have the MemberIconView
position the presence icon rather than the presence icon trying to position
itself.
This commit is contained in:
David Baker
2026-06-08 17:55:32 +01:00
parent d6a028da25
commit 107289a16c
6 changed files with 38 additions and 32 deletions
@@ -13,10 +13,7 @@ Please see LICENSE files in the repository root for full details.
.mx_WithPresenceIndicator_icon {
position: absolute;
/* PresenceIconView has its own idea of where it should be positioned which it probably shouldn't */
top: initial;
left: initial;
right: -2px;
bottom: -2px;
right: 0px;
bottom: 2px;
}
}
@@ -41,4 +41,10 @@ Please see LICENSE files in the repository root for full details.
height: 32px;
width: 32px;
}
.mx_MemberTileView_presence {
position: absolute;
right: -2px;
bottom: 2px;
}
}
@@ -6,11 +6,6 @@ Please see LICENSE files in the repository root for full details.
*/
.mx_PresenceIconView {
position: absolute;
top: 24px;
left: 24px;
width: 12px;
height: 12px;
display: flex;
justify-content: center;
align-items: center;