Mentioned label and emoji cutoff

This commit is contained in:
Bojan Mojsilovic 2024-04-19 14:30:01 +02:00
parent 28e1dd4c89
commit 2cfd170852
4 changed files with 15 additions and 8 deletions

View File

@ -362,7 +362,7 @@
color: var(--text-secondary-2);
font-size: 14px;
font-weight: 400;
line-height: 14px;
line-height: 18px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
@ -437,8 +437,8 @@
justify-content: center;
border-radius: 50%;
background: var(--devider);
width: 24px;
height: 24px;
width: 26px;
height: 26px;
padding: 0;
margin: 0;
border: none;

View File

@ -14,7 +14,8 @@ import Repliers from './Repliers';
const PeopleList: Component<{
people: PrimalUser[],
label: string,
label?: string,
mentionLabel?: string,
id?: string,
note?: PrimalNote,
}> = (props) => {
@ -41,14 +42,14 @@ const PeopleList: Component<{
<MentionedPeople
mentioned={mentioned()}
author={author()}
label="People in this Note"
label={props.mentionLabel || ''}
/>
</Show>
<Show when={repliers().length > 0}>
<Repliers
people={repliers()}
label={props.label}
label={props.label || ''}
/>
</Show>
</div>

View File

@ -167,6 +167,7 @@ const Thread: Component = () => {
note={primaryNote()}
people={people()}
label={intl.formatMessage(t.sidebar)}
mentionLabel={intl.formatMessage(t.sidebarMentions)}
/>
</Wormhole>

View File

@ -1852,8 +1852,13 @@ export const toastZapProfile = {
export const thread = {
sidebar: {
id: 'thread.sidebar.title',
defaultMessage: 'People in this thread',
id: 'thread.sidebar',
defaultMessage: 'Replies to this Note',
description: 'Title of the Thread page sidebar',
},
sidebarMentions: {
id: 'thread.sidebarMentions',
defaultMessage: 'People in this Note',
description: 'Title of the Thread page sidebar',
},
pageTitle: {