Make the pill on the basic message composer compatible with display name in RTL languages (#8758)

t3chguy/dedup-icons-17oct
Suguru Hirahara 2022-06-05 13:22:44 +00:00 committed by GitHub
parent dc1f53b6e9
commit 4b5816f5c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 4 deletions

View File

@ -48,8 +48,8 @@ limitations under the License.
&::before,
.mx_BaseAvatar {
margin-left: -0.3em; // Otherwise the gap is too large
margin-right: 0.2em;
margin-inline-start: -0.3em; // Otherwise the gap is too large
margin-inline-end: 0.2em;
}
a& {

View File

@ -51,7 +51,9 @@ limitations under the License.
}
&.mx_BasicMessageComposer_input_shouldShowPillAvatar {
span.mx_UserPill, span.mx_RoomPill, span.mx_SpacePill {
span.mx_UserPill,
span.mx_RoomPill,
span.mx_SpacePill {
user-select: all;
position: relative;
cursor: unset; // We don't want indicate clickability
@ -66,7 +68,7 @@ limitations under the License.
content: var(--avatar-letter);
width: $font-16px;
height: $font-16px;
margin-right: 0.24rem;
margin-inline-end: 0.24rem;
background: var(--avatar-background), $background;
color: $avatar-initial-color;
background-repeat: no-repeat;