mirror of https://github.com/vector-im/riot-web
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>pull/21833/head
parent
ed9e4d82c9
commit
62f4cfe734
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue