Adjust CSS for optional avatars in pills

codep matrix-org/matrix-react-sdk#1277
This commit is contained in:
Luke Barnard 2017-08-08 11:14:52 +01:00
parent 9f3c33758c
commit 274fc34868
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 {