diff --git a/external/lang b/external/lang index de2b94c8d8615b732cbbec3679041e73fd3c7640..2054052c791ff2396dcbde68ae257fa13a93ab6c 160000 --- a/external/lang +++ b/external/lang @@ -1 +1 @@ -Subproject commit de2b94c8d8615b732cbbec3679041e73fd3c7640 +Subproject commit 2054052c791ff2396dcbde68ae257fa13a93ab6c diff --git a/src/components/common/messaging/attachments/MessageReply.tsx b/src/components/common/messaging/attachments/MessageReply.tsx index 435f2d544b1ff937892ee0f86ce9ba54b3f2f5fb..90005b8a5bc89ceca42942791338cb21f19a82e1 100644 --- a/src/components/common/messaging/attachments/MessageReply.tsx +++ b/src/components/common/messaging/attachments/MessageReply.tsx @@ -29,10 +29,11 @@ export const ReplyBase = styled.div<{ }>` gap: 4px; display: flex; - margin: 0 30px; + margin-inline-start: 30px; + margin-inline-end: 12px; + margin-bottom: 4px; font-size: 0.8em; user-select: none; - margin-bottom: 4px; align-items: center; color: var(--secondary-foreground); @@ -42,6 +43,21 @@ export const ReplyBase = styled.div<{ text-overflow: ellipsis; } + .user { + display: flex; + gap: 4px; + flex-shrink: 0; + font-weight: 600; + align-items: center; + + /*&::before { + position:relative; + width: 50px; + height: 2px; + background: red; + }*/ + } + .content { gap: 4px; display: flex; @@ -120,7 +136,7 @@ export function MessageReply({ index, channel, id }: Props) { {message.author === SYSTEM_USER_ID ? ( <SystemMessage message={message} hideInfo /> ) : <> - <UserShort user={user} size={16} /> + <div className="user"><UserShort user={user} size={16} /></div> <div className="content" onClick={() => { let obj = ctx.client.channels.get(channel); if (obj?.channel_type === 'TextChannel') { diff --git a/src/pages/settings/panes/Experiments.tsx b/src/pages/settings/panes/Experiments.tsx index 973fc7eaf6eefc8bbd8a7c662294fdce79818d94..4ff72adb4457c38573575681a722ae8be9ad589d 100644 --- a/src/pages/settings/panes/Experiments.tsx +++ b/src/pages/settings/panes/Experiments.tsx @@ -31,9 +31,9 @@ export function Component(props: Props) { : "EXPERIMENTS_DISABLE", key, }) - }> + } + description={ EXPERIMENTS[key].description }> { EXPERIMENTS[key].title } - <p>{ EXPERIMENTS[key].description }</p> </Checkbox> ))} {AVAILABLE_EXPERIMENTS.length === 0 && (