66.mx_RoomPill ,
77.mx_GroupPill ,
88.mx_AtRoomPill {
9- border-radius : 16px ;
10- display : inline-block ;
11- height : 20px ;
12- line-height : $font-20px ;
13- padding-left : 5px ;
9+ display : inline-flex ;
10+ align-items : center ;
11+ vertical-align : middle ;
12+ border-radius : $font-16px ;
13+ line-height : $font-15px ;
14+ padding-left : 0 ;
1415}
1516
1617a .mx_Pill {
@@ -21,6 +22,18 @@ a.mx_Pill {
2122 max-width : calc (100% - 1ch );
2223}
2324
25+ .mx_Pill {
26+ padding : $font-1px ;
27+ padding-right : 0.4em ;
28+ }
29+
30+ /* More specific to override `.markdown-body a` color */
31+ .mx_EventTile_content .markdown-body a .mx_GroupPill ,
32+ .mx_GroupPill {
33+ color : $accent-fg-color ;
34+ background-color : $rte-group-pill-color ;
35+ }
36+
2437/* More specific to override `.markdown-body a` text-decoration */
2538.mx_EventTile_content .markdown-body a .mx_Pill {
2639 text-decoration : none ;
@@ -31,7 +44,6 @@ a.mx_Pill {
3144.mx_UserPill {
3245 color : $primary-fg-color ;
3346 background-color : $other-user-pill-bg-color ;
34- padding-right : 5px ;
3547}
3648
3749.mx_UserPill_selected {
@@ -45,7 +57,6 @@ a.mx_Pill {
4557.mx_MessageComposer_input .mx_AtRoomPill {
4658 color : $accent-fg-color ;
4759 background-color : $mention-user-pill-bg-color ;
48- padding-right : 5px ;
4960}
5061
5162/* More specific to override `.markdown-body a` color */
@@ -55,15 +66,6 @@ a.mx_Pill {
5566.mx_GroupPill {
5667 color : $accent-fg-color ;
5768 background-color : $rte-room-pill-color ;
58- padding-right : 5px ;
59- }
60-
61- /* More specific to override `.markdown-body a` color */
62- .mx_EventTile_content .markdown-body a .mx_GroupPill ,
63- .mx_GroupPill {
64- color : $accent-fg-color ;
65- background-color : $rte-group-pill-color ;
66- padding-right : 5px ;
6769}
6870
6971.mx_EventTile_body .mx_UserPill ,
@@ -77,8 +79,10 @@ a.mx_Pill {
7779.mx_GroupPill .mx_BaseAvatar ,
7880.mx_AtRoomPill .mx_BaseAvatar {
7981 position : relative ;
80- left : -3px ;
81- top : 2px ;
82+ display : inline-flex ;
83+ align-items : center ;
84+ border-radius : 10rem ;
85+ margin-right : 0.24rem ;
8286}
8387
8488.mx_Markdown_BOLD {
0 commit comments