UX: adjusts RTL composer presence avatar alignment

context: https://meta.discourse.org/t/user-is-typing-misaligned-and-mixed-with-reply-choices-with-rtl/127963

This commit adds a temporary fix for presence avatar overlap in the composer for RTL.

More context on TMP here: https://meta.discourse.org/t/moving-the-voting-box-to-the-right-side-of-the-screen/126752
This commit is contained in:
Joe 2019-09-09 20:47:29 +08:00 committed by GitHub
parent 530356f465
commit 27f7bd4273
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 20 additions and 0 deletions

View File

@ -74,3 +74,23 @@
}
}
}
// TMP: RTL overrides
.rtl {
span.presence-text {
margin-left: 2px;
margin-right: 5px;
}
.composer-fields .presence-users {
right: unset;
left: 95px;
}
&.mobile-view {
.composer-fields .presence-users {
right: unset;
left: 65px;
}
}
}