Fix thread lines in right-to-left locales (#24714)

This commit is contained in:
Claire 2023-04-28 13:12:35 +02:00 committed by GitHub
parent 2a3a110f00
commit 105f8687e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View File

@ -1156,7 +1156,7 @@ body > [data-popper-placement] {
.audio-player, .audio-player,
.attachment-list, .attachment-list,
.status-card { .status-card {
margin-left: 46px + 10px; margin-inline-start: 46px + 10px;
width: calc(100% - (46px + 10px)); width: calc(100% - (46px + 10px));
} }
} }
@ -6522,7 +6522,6 @@ a.status-card.compact:hover {
background: darken($ui-base-color, 8%); background: darken($ui-base-color, 8%);
border-radius: 4px; border-radius: 4px;
padding-bottom: 44px; padding-bottom: 44px;
direction: ltr;
&.editable { &.editable {
border-radius: 0; border-radius: 0;
@ -6589,7 +6588,6 @@ a.status-card.compact:hover {
max-width: 100%; max-width: 100%;
border-radius: 4px; border-radius: 4px;
box-sizing: border-box; box-sizing: border-box;
direction: ltr;
color: $white; color: $white;
&.editable { &.editable {
@ -6633,6 +6631,7 @@ a.status-card.compact:hover {
&__controls { &__controls {
position: absolute; position: absolute;
direction: ltr;
z-index: 2; z-index: 2;
bottom: 0; bottom: 0;
inset-inline-start: 0; inset-inline-start: 0;