diff --git a/res/css/views/messages/_RoomAvatarEvent.pcss b/res/css/views/messages/_RoomAvatarEvent.pcss index 3db18c1d10..844c365449 100644 --- a/res/css/views/messages/_RoomAvatarEvent.pcss +++ b/res/css/views/messages/_RoomAvatarEvent.pcss @@ -14,11 +14,6 @@ See the License for the specific language governing permissions and limitations under the License. */ -.mx_RoomAvatarEvent { - opacity: 0.5; - overflow-y: hidden; -} - .mx_RoomAvatarEvent_avatar { display: inline; position: relative; diff --git a/res/css/views/rooms/_EventTile.pcss b/res/css/views/rooms/_EventTile.pcss index c69725c9a6..d426a6b0c5 100644 --- a/res/css/views/rooms/_EventTile.pcss +++ b/res/css/views/rooms/_EventTile.pcss @@ -31,6 +31,11 @@ $left-gutter: 64px; padding-top: 18px; position: relative; + &.mx_EventTile_info { + font-size: var(--cpd-font-size-body-sm); + color: $secondary-content; + } + .mx_EventTile_avatar { cursor: pointer; user-select: none; diff --git a/src/components/views/messages/RoomAvatarEvent.tsx b/src/components/views/messages/RoomAvatarEvent.tsx index 14bebf563b..777e672ddb 100644 --- a/src/components/views/messages/RoomAvatarEvent.tsx +++ b/src/components/views/messages/RoomAvatarEvent.tsx @@ -71,7 +71,7 @@ export default class RoomAvatarEvent extends React.Component { }; return ( -
+ <> {_t( "%(senderDisplayName)s changed the room avatar to ", { senderDisplayName: senderDisplayName }, @@ -87,7 +87,7 @@ export default class RoomAvatarEvent extends React.Component { ), }, )} -
+ ); } }