You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-20 16:22:28 +03:00
Don't affect avatars in pinned message contents
This uses more direct classes to avoid affecting pills. Fixes https://github.com/vector-im/riot-web/issues/5438 Signed-off-by: Travis Ralston <travpc@gmail.com>
This commit is contained in:
@@ -40,7 +40,7 @@ limitations under the License.
|
|||||||
left: 0;
|
left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_PinnedEventTile .mx_BaseAvatar {
|
.mx_PinnedEventTile .mx_PinnedEventTile_senderAvatar .mx_BaseAvatar {
|
||||||
float: left;
|
float: left;
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -80,7 +80,9 @@ module.exports = React.createClass({
|
|||||||
{ unpinButton }
|
{ unpinButton }
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<MemberAvatar member={sender} width={avatarSize} height={avatarSize} />
|
<span className="mx_PinnedEventTile_senderAvatar">
|
||||||
|
<MemberAvatar member={sender} width={avatarSize} height={avatarSize} />
|
||||||
|
</span>
|
||||||
<span className="mx_PinnedEventTile_sender">
|
<span className="mx_PinnedEventTile_sender">
|
||||||
{ sender.name }
|
{ sender.name }
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user