mirror of
https://github.com/element-hq/element-web
synced 2024-11-28 12:28:50 +03:00
Adjust CSS for optional avatars in pills
codep matrix-org/matrix-react-sdk#1277
This commit is contained in:
parent
9f3c33758c
commit
274fc34868
2 changed files with 3 additions and 2 deletions
|
@ -20,6 +20,7 @@ limitations under the License.
|
|||
|
||||
.mx_BaseAvatar_initial {
|
||||
position: absolute;
|
||||
left: 0px;
|
||||
color: $avatar-initial-color;
|
||||
text-align: center;
|
||||
speak: none;
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue