Fix rendering of messages with primarily RTL text
This commit is contained in:
parent
110eeb0f63
commit
04ef741236
4 changed files with 11 additions and 92 deletions
|
@ -1,13 +0,0 @@
|
|||
// Copyright 2022 Signal Messenger, LLC
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
import type { ReactElement } from 'react';
|
||||
import React from 'react';
|
||||
|
||||
const SPACING = 10;
|
||||
|
||||
export const MessageTextMetadataSpacer = ({
|
||||
metadataWidth,
|
||||
}: Readonly<{ metadataWidth: number }>): ReactElement => (
|
||||
<span style={{ display: 'inline-block', width: metadataWidth + SPACING }} />
|
||||
);
|
Loading…
Add table
Add a link
Reference in a new issue