Adjust CSS for optional avatars in pills

codep matrix-org/matrix-react-sdk#1277
pull/4757/head
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 {
position: absolute;
left: 0px;
color: $avatar-initial-color;
text-align: center;
speak: none;

View File

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