Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Fix event info events size and color (#11252)
Browse files Browse the repository at this point in the history
  • Loading branch information
Germain authored Jul 13, 2023
1 parent a583759 commit 06403d0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
5 changes: 0 additions & 5 deletions res/css/views/messages/_RoomAvatarEvent.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
5 changes: 5 additions & 0 deletions res/css/views/rooms/_EventTile.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions src/components/views/messages/RoomAvatarEvent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export default class RoomAvatarEvent extends React.Component<IProps> {
};

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

0 comments on commit 06403d0

Please sign in to comment.