Skip to content

Commit 3e96892

Browse files
authored
Merge pull request element-hq#4757 from vector-im/luke/css-feature-pills-hide-avatar-setting
Adjust CSS for optional avatars in pills
2 parents 10ee9f4 + 274fc34 commit 3e96892

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

‎src/skins/vector/css/matrix-react-sdk/views/avatars/_BaseAvatar.scss‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ limitations under the License.
2020

2121
.mx_BaseAvatar_initial {
2222
position: absolute;
23+
left: 0px;
2324
color: $avatar-initial-color;
2425
text-align: center;
2526
speak: none;

‎src/skins/vector/css/matrix-react-sdk/views/elements/_RichText.scss‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
display: inline-block;
99
height: 20px;
1010
line-height: 20px;
11+
padding-left: 5px;
1112
}
1213

1314
/* More specific to override `.markdown-body a` color */
@@ -35,9 +36,8 @@
3536
.mx_UserPill .mx_BaseAvatar,
3637
.mx_RoomPill .mx_BaseAvatar {
3738
position: relative;
39+
left: -3px;
3840
top: 2px;
39-
margin-left: 2px;
40-
margin-right: 2px;
4141
}
4242

4343
.mx_Markdown_BOLD {

0 commit comments

Comments
 (0)