Merge pull request #4757 from vector-im/luke/css-feature-pills-hide-avatar-setting

Adjust CSS for optional avatars in pills
This commit is contained in:
David Baker 2017-08-08 14:01:29 +01:00 committed by GitHub
commit 3e96892a91
2 changed files with 3 additions and 2 deletions

View File

@ -20,6 +20,7 @@ limitations under the License.
.mx_BaseAvatar_initial { .mx_BaseAvatar_initial {
position: absolute; position: absolute;
left: 0px;
color: $avatar-initial-color; color: $avatar-initial-color;
text-align: center; text-align: center;
speak: none; speak: none;

View File

@ -8,6 +8,7 @@
display: inline-block; display: inline-block;
height: 20px; height: 20px;
line-height: 20px; line-height: 20px;
padding-left: 5px;
} }
/* More specific to override `.markdown-body a` color */ /* More specific to override `.markdown-body a` color */
@ -35,9 +36,8 @@
.mx_UserPill .mx_BaseAvatar, .mx_UserPill .mx_BaseAvatar,
.mx_RoomPill .mx_BaseAvatar { .mx_RoomPill .mx_BaseAvatar {
position: relative; position: relative;
left: -3px;
top: 2px; top: 2px;
margin-left: 2px;
margin-right: 2px;
} }
.mx_Markdown_BOLD { .mx_Markdown_BOLD {