mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-12 18:29:57 -05:00
parent
374f5d1747
commit
b938f6620b
2 changed files with 14 additions and 3 deletions
|
@ -84,12 +84,16 @@ export const ReplyBase = styled.div<{
|
||||||
}
|
}
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
padding: 2px 0;
|
max-height: 32px;
|
||||||
|
|
||||||
gap: 4px;
|
gap: 4px;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
padding: 2px 0;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
overflow: hidden;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
|
|
||||||
transition: filter 1s ease-in-out;
|
transition: filter 1s ease-in-out;
|
||||||
transition: transform ease-in-out 0.1s;
|
transition: transform ease-in-out 0.1s;
|
||||||
filter: brightness(1);
|
filter: brightness(1);
|
||||||
|
|
|
@ -65,6 +65,7 @@ const Base = styled.div`
|
||||||
|
|
||||||
.message {
|
.message {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
max-height: 26px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.actions {
|
.actions {
|
||||||
|
@ -152,7 +153,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
|
||||||
|
@ -191,7 +192,13 @@ export default observer(({ channel, replies, setReplies }: Props) => {
|
||||||
}}>
|
}}>
|
||||||
<span class="toggle">
|
<span class="toggle">
|
||||||
<At size={15} />
|
<At size={15} />
|
||||||
<Text id={reply.mention ? 'general.on' : 'general.off'} />
|
<Text
|
||||||
|
id={
|
||||||
|
reply.mention
|
||||||
|
? "general.on"
|
||||||
|
: "general.off"
|
||||||
|
}
|
||||||
|
/>
|
||||||
</span>
|
</span>
|
||||||
</IconButton>
|
</IconButton>
|
||||||
)}
|
)}
|
||||||
|
|
Loading…
Reference in a new issue