Merge pull request #4878 from matrix-org/travis/room-list/fix-community-invites

Fix alignment of avatars on community invites
This commit is contained in:
Travis Ralston 2020-07-02 14:39:25 -06:00 committed by GitHub
commit 0549ef83db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 4 deletions

View file

@ -14,7 +14,8 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
.mx_DecoratedRoomAvatar {
// XXX: We shouldn't be using TemporaryTile anywhere - delete it.
.mx_DecoratedRoomAvatar, .mx_TemporaryTile {
position: relative;
.mx_RoomTileIcon {

View file

@ -29,7 +29,7 @@ limitations under the License.
border-radius: 32px;
}
.mx_DecoratedRoomAvatar {
.mx_DecoratedRoomAvatar, .mx_RoomTile2_avatarContainer {
margin-right: 8px;
}
@ -152,7 +152,7 @@ limitations under the License.
align-items: center;
position: relative;
.mx_DecoratedRoomAvatar {
.mx_DecoratedRoomAvatar, .mx_RoomTile2_avatarContainer {
margin-right: 0;
}
}