Fix event info events size and color (#11252)

pull/28788/head^2
Germain 2023-07-13 10:35:08 +01:00 committed by GitHub
parent a5837597ff
commit 06403d07f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 7 deletions

View File

@ -14,11 +14,6 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
*/ */
.mx_RoomAvatarEvent {
opacity: 0.5;
overflow-y: hidden;
}
.mx_RoomAvatarEvent_avatar { .mx_RoomAvatarEvent_avatar {
display: inline; display: inline;
position: relative; position: relative;

View File

@ -31,6 +31,11 @@ $left-gutter: 64px;
padding-top: 18px; padding-top: 18px;
position: relative; position: relative;
&.mx_EventTile_info {
font-size: var(--cpd-font-size-body-sm);
color: $secondary-content;
}
.mx_EventTile_avatar { .mx_EventTile_avatar {
cursor: pointer; cursor: pointer;
user-select: none; user-select: none;

View File

@ -71,7 +71,7 @@ export default class RoomAvatarEvent extends React.Component<IProps> {
}; };
return ( return (
<div className="mx_RoomAvatarEvent"> <>
{_t( {_t(
"%(senderDisplayName)s changed the room avatar to <img/>", "%(senderDisplayName)s changed the room avatar to <img/>",
{ senderDisplayName: senderDisplayName }, { senderDisplayName: senderDisplayName },
@ -87,7 +87,7 @@ export default class RoomAvatarEvent extends React.Component<IProps> {
), ),
}, },
)} )}
</div> </>
); );
} }
} }