You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-31 13:44:28 +03:00
Fix colour of avatar and colour matching with username (#11470)
* Use consistent colouring of username with avatar * Upgrade Compound to fix Firefox issue * Use the approapriate color shade for usernames * Use the approapriate color shade for usernames * Upgrade Compound * Fix tests
This commit is contained in:
@ -39,7 +39,7 @@ describe("<Marker />", () => {
|
||||
it("uses member color class", () => {
|
||||
const member = new RoomMember("!room:server", "@user:server");
|
||||
const { container } = getComponent({ useMemberColor: true, roomMember: member });
|
||||
expect(container.querySelector(".mx_Marker.mx_Username_color3")).toBeInTheDocument();
|
||||
expect(container.querySelector(".mx_Marker.mx_Username_color1")).toBeInTheDocument();
|
||||
});
|
||||
|
||||
it("renders member avatar when roomMember is truthy", () => {
|
||||
|
Reference in New Issue
Block a user