Fix rendering of messages with primarily RTL text

This commit is contained in:
Scott Nonnenberg 2022-03-22 17:12:06 -07:00 committed by GitHub
parent 110eeb0f63
commit 04ef741236
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 92 deletions

View file

@ -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 }} />
);