mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-26 00:50:56 -05:00
Merge pull request #224 from brecert/misc-fixes
This commit is contained in:
commit
4c5504cea8
1 changed files with 6 additions and 4 deletions
|
@ -47,11 +47,13 @@ const Base = styled.div`
|
||||||
}
|
}
|
||||||
|
|
||||||
.toggle {
|
.toggle {
|
||||||
gap: 4px;
|
gap: 2px;
|
||||||
display: flex;
|
display: flex;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
|
text-transform: uppercase;
|
||||||
|
min-width: 6ch;
|
||||||
}
|
}
|
||||||
|
|
||||||
.username {
|
.username {
|
||||||
|
@ -150,7 +152,7 @@ export default observer(({ channel, replies, setReplies }: Props) => {
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
{message.author_id ===
|
{message.author_id ===
|
||||||
"00000000000000000000000000" ? (
|
"00000000000000000000000000" ? (
|
||||||
<SystemMessage message={message} hideInfo />
|
<SystemMessage message={message} hideInfo />
|
||||||
) : (
|
) : (
|
||||||
<Markdown
|
<Markdown
|
||||||
|
@ -188,8 +190,8 @@ export default observer(({ channel, replies, setReplies }: Props) => {
|
||||||
});
|
});
|
||||||
}}>
|
}}>
|
||||||
<span class="toggle">
|
<span class="toggle">
|
||||||
<At size={16} />{" "}
|
<At size={15} />
|
||||||
{reply.mention ? "ON" : "OFF"}
|
<Text id={reply.mention ? 'general.on' : 'general.off'} />
|
||||||
</span>
|
</span>
|
||||||
</IconButton>
|
</IconButton>
|
||||||
)}
|
)}
|
||||||
|
|
Loading…
Reference in a new issue