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:
automated-signal
2026-04-01 11:27:01 -05:00
committed by GitHub
parent 332f8da766
commit 14ae694750

View File

@@ -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>
&nbsp;
{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}`,