diff --git a/res/css/views/rooms/_RoomPreviewCard.scss b/res/css/views/rooms/_RoomPreviewCard.scss index 322a8c4251..782eb29248 100644 --- a/res/css/views/rooms/_RoomPreviewCard.scss +++ b/res/css/views/rooms/_RoomPreviewCard.scss @@ -71,6 +71,11 @@ limitations under the License. color: $secondary-content; } } + + // XXX Remove this when video rooms leave beta + .mx_BetaCard_betaPill { + align-self: start; + } } .mx_RoomPreviewCard_avatar { @@ -105,13 +110,6 @@ limitations under the License. mask-image: url('$(res)/img/element-icons/call/video-call.svg'); } } - - // XXX Remove this when video rooms leave beta - .mx_BetaCard_betaPill { - position: absolute; - right: $spacing-24; - top: $spacing-32; - } } h1.mx_RoomPreviewCard_name { diff --git a/src/components/views/rooms/RoomPreviewCard.tsx b/src/components/views/rooms/RoomPreviewCard.tsx index 65dadc96f6..132ba6720e 100644 --- a/src/components/views/rooms/RoomPreviewCard.tsx +++ b/src/components/views/rooms/RoomPreviewCard.tsx @@ -102,6 +102,7 @@ const RoomPreviewCard: FC = ({ room, onJoinButtonClicked, onRejectButton { inviteSender } : null } + ; } @@ -152,7 +153,6 @@ const RoomPreviewCard: FC = ({ room, onJoinButtonClicked, onRejectButton avatarRow = <>
- ; } else if (room.isSpaceRoom()) { avatarRow = ;