Improve pills (#6398)

This commit is contained in:
Šimon Brandner 2022-05-05 11:13:09 +02:00 committed by GitHub
parent c79596cfe6
commit b5ac9493dd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 176 additions and 184 deletions

View file

@ -423,7 +423,7 @@ class RoomPillPart extends PillPart {
}
protected get className() {
return "mx_RoomPill mx_Pill";
return "mx_Pill " + (this.room.isSpaceRoom() ? "mx_SpacePill" : "mx_RoomPill");
}
}