Pinned Message: Adjust width (#5550)
This commit is contained in:
parent
ca65f8003a
commit
673c2aee5a
@ -55,6 +55,7 @@ import PinnedMessageNavigation from '../PinnedMessageNavigation';
|
|||||||
|
|
||||||
import styles from './HeaderPinnedMessage.module.scss';
|
import styles from './HeaderPinnedMessage.module.scss';
|
||||||
|
|
||||||
|
const MAX_LENGTH = 256;
|
||||||
const SHOW_LOADER_DELAY = 450;
|
const SHOW_LOADER_DELAY = 450;
|
||||||
const EMOJI_SIZE = 1.125 * REM;
|
const EMOJI_SIZE = 1.125 * REM;
|
||||||
|
|
||||||
@ -312,6 +313,7 @@ const HeaderPinnedMessage = ({
|
|||||||
<p dir="auto" className={styles.summary}>
|
<p dir="auto" className={styles.summary}>
|
||||||
<MessageSummary
|
<MessageSummary
|
||||||
message={renderingPinnedMessage}
|
message={renderingPinnedMessage}
|
||||||
|
truncateLength={MAX_LENGTH}
|
||||||
noEmoji={Boolean(mediaThumbnail)}
|
noEmoji={Boolean(mediaThumbnail)}
|
||||||
emojiSize={EMOJI_SIZE}
|
emojiSize={EMOJI_SIZE}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user