mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-17 23:34:14 +01:00
Fix RTL rendering of delete for everyone message
Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
This commit is contained in:
@@ -2433,9 +2433,13 @@ export class Message extends React.PureComponent<Props, State> {
|
||||
);
|
||||
}
|
||||
return (
|
||||
<>
|
||||
<AxoSymbol.InlineGlyph symbol="x-circle" label={null} /> {text}
|
||||
</>
|
||||
<span dir="auto">
|
||||
<span dir="auto">
|
||||
<AxoSymbol.InlineGlyph symbol="x-circle" label={null} />
|
||||
</span>
|
||||
|
||||
{text}
|
||||
</span>
|
||||
);
|
||||
}
|
||||
if (direction === 'incoming' && status === 'error') {
|
||||
@@ -2479,6 +2483,7 @@ export class Message extends React.PureComponent<Props, State> {
|
||||
|
||||
return (
|
||||
<div // oxlint-disable-line jsx-a11y/click-events-have-key-events,jsx-a11y/no-static-element-interactions
|
||||
dir="ltr"
|
||||
className={classNames(
|
||||
'module-message__text',
|
||||
`module-message__text--${direction}`,
|
||||
|
||||
Reference in New Issue
Block a user