mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-22 15:10:57 -05:00
Fix: Support for DateDivider for RTL
This commit is contained in:
parent
2f60013935
commit
ccb7499c2a
2 changed files with 10 additions and 10 deletions
|
@ -12,9 +12,10 @@ const Base = styled.div<{ unread?: boolean }>`
|
|||
|
||||
time {
|
||||
margin-top: -2px;
|
||||
font-size: 0.6875rem;
|
||||
line-height: 0.6875rem;
|
||||
padding: 2px 5px 2px 0;
|
||||
font-size: .6875rem;
|
||||
line-height: .6875rem;
|
||||
padding: 2px 0 2px 0;
|
||||
padding-inline-end: 5px;
|
||||
color: var(--tertiary-foreground);
|
||||
background: var(--primary-background);
|
||||
}
|
||||
|
|
|
@ -10,7 +10,7 @@ import {
|
|||
LeftArrowAlt,
|
||||
Trash,
|
||||
} from "@styled-icons/boxicons-regular";
|
||||
import { Cog } from "@styled-icons/boxicons-solid";
|
||||
import { Cog, UserVoice } from "@styled-icons/boxicons-solid";
|
||||
import { useHistory } from "react-router-dom";
|
||||
import {
|
||||
Attachment,
|
||||
|
@ -924,16 +924,13 @@ function ContextMenus(props: Props) {
|
|||
<Text id={`app.status.invisible`} />
|
||||
</MenuItem>
|
||||
<LineDivider />
|
||||
<div className="header">
|
||||
<div className="main">
|
||||
<MenuItem
|
||||
data={{ action: "set_status" }}
|
||||
disabled={!isOnline}>
|
||||
<UserVoice size={18} />
|
||||
<Text
|
||||
id={`app.context_menu.custom_status`}
|
||||
/>
|
||||
</MenuItem>
|
||||
</div>
|
||||
{client.user!.status?.text && (
|
||||
<IconButton>
|
||||
<MenuItem data={{ action: "clear_status" }}>
|
||||
|
@ -941,7 +938,9 @@ function ContextMenus(props: Props) {
|
|||
</MenuItem>
|
||||
</IconButton>
|
||||
)}
|
||||
</div>
|
||||
</MenuItem>
|
||||
|
||||
|
||||
</>
|
||||
)}
|
||||
</ContextMenuWithData>
|
||||
|
|
Loading…
Reference in a new issue