mirror of
https://github.com/PrimalHQ/primal-web-app.git
synced 2024-09-30 00:41:09 +00:00
Mentioned label and emoji cutoff
This commit is contained in:
parent
28e1dd4c89
commit
2cfd170852
@ -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;
|
||||
|
@ -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>
|
||||
|
@ -167,6 +167,7 @@ const Thread: Component = () => {
|
||||
note={primaryNote()}
|
||||
people={people()}
|
||||
label={intl.formatMessage(t.sidebar)}
|
||||
mentionLabel={intl.formatMessage(t.sidebarMentions)}
|
||||
/>
|
||||
</Wormhole>
|
||||
|
||||
|
@ -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: {
|
||||
|
Loading…
Reference in New Issue
Block a user