Fix RTL layout of status display names (#9075)

Fix #2350
pull/9083/head
Eugen Rochko 2018-10-24 18:18:08 +02:00 committed by GitHub
parent 288e435fe5
commit d723f2a0a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 11 deletions

View File

@ -130,17 +130,6 @@ body.rtl {
float: left;
}
.activity-stream .detailed-status.light .detailed-status__display-name > div {
float: right;
margin-right: 0;
margin-left: 10px;
}
.activity-stream .detailed-status.light .detailed-status__meta span > span {
margin-left: 0;
margin-right: 6px;
}
.status__action-bar {
&__counter {
@ -174,6 +163,10 @@ body.rtl {
margin-right: 0;
}
.detailed-status__display-name .display-name {
text-align: right;
}
.detailed-status__display-avatar {
margin-right: 0;
margin-left: 10px;

View File

@ -15,6 +15,7 @@
%span.display-name
%bdi
%strong.display-name__html.p-name.emojify= display_name(status.account, custom_emojify: true, autoplay: autoplay)
 
%span.display-name__account
= acct(status.account)
= fa_icon('lock') if status.account.locked?