Merge pull request #224 from brecert/misc-fixes

This commit is contained in:
Paul Makles 2021-09-11 23:52:15 +01:00 committed by GitHub
commit 4c5504cea8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -47,11 +47,13 @@ const Base = styled.div`
}
.toggle {
gap: 4px;
gap: 2px;
display: flex;
font-size: 12px;
align-items: center;
font-weight: 600;
text-transform: uppercase;
min-width: 6ch;
}
.username {
@ -188,8 +190,8 @@ export default observer(({ channel, replies, setReplies }: Props) => {
});
}}>
<span class="toggle">
<At size={16} />{" "}
{reply.mention ? "ON" : "OFF"}
<At size={15} />
<Text id={reply.mention ? 'general.on' : 'general.off'} />
</span>
</IconButton>
)}