mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-22 15:10:57 -05:00
Fix: Small changes to profile context menu
This commit is contained in:
parent
1a08f50997
commit
49e49f3952
5 changed files with 10 additions and 4 deletions
|
@ -2,6 +2,7 @@ import { Text } from "preact-i18n";
|
||||||
import { useContext, useEffect, useState } from "preact/hooks";
|
import { useContext, useEffect, useState } from "preact/hooks";
|
||||||
|
|
||||||
import { User } from "revolt.js";
|
import { User } from "revolt.js";
|
||||||
|
import Details from "../../../components/ui/Details";
|
||||||
import Category from "../../ui/Category";
|
import Category from "../../ui/Category";
|
||||||
import { useParams } from "react-router";
|
import { useParams } from "react-router";
|
||||||
import { UserButton } from "../items/ButtonItem";
|
import { UserButton } from "../items/ButtonItem";
|
||||||
|
|
|
@ -118,7 +118,6 @@
|
||||||
.divider {
|
.divider {
|
||||||
width: 1px;
|
width: 1px;
|
||||||
height: 24px;
|
height: 24px;
|
||||||
margin: 0 8px;
|
|
||||||
background: var(--primary-background);
|
background: var(--primary-background);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -57,7 +57,7 @@ export default function Friends() {
|
||||||
<div className={styles.actions}>
|
<div className={styles.actions}>
|
||||||
{/*<Tooltip content={"Create Category"} placement="bottom">
|
{/*<Tooltip content={"Create Category"} placement="bottom">
|
||||||
<IconButton onClick={() => openScreen({ id: 'special_input', type: 'create_group' })}>
|
<IconButton onClick={() => openScreen({ id: 'special_input', type: 'create_group' })}>
|
||||||
<ListPlus size={24} />
|
<ListPlus size={28} />
|
||||||
</IconButton>
|
</IconButton>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
<div className={styles.divider} />*/}
|
<div className={styles.divider} />*/}
|
||||||
|
|
|
@ -49,7 +49,7 @@ export function Roles({ server }: Props) {
|
||||||
<div className={styles.list}>
|
<div className={styles.list}>
|
||||||
<div className={styles.title}>
|
<div className={styles.title}>
|
||||||
<h1><Text id="app.settings.server_pages.roles.title" /></h1>
|
<h1><Text id="app.settings.server_pages.roles.title" /></h1>
|
||||||
<Plus size={16} onClick={() =>
|
<Plus size={22} onClick={() =>
|
||||||
openScreen({ id: 'special_input', type: 'create_role', server: server._id, callback: id => setRole(id) })} />
|
openScreen({ id: 'special_input', type: 'create_role', server: server._id, callback: id => setRole(id) })} />
|
||||||
</div>
|
</div>
|
||||||
{ [ 'default', ...Object.keys(roles) ]
|
{ [ 'default', ...Object.keys(roles) ]
|
||||||
|
|
|
@ -51,7 +51,13 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.status {
|
.status {
|
||||||
font-size: .6rem;
|
max-width: 132px;
|
||||||
|
font-size: .625rem;
|
||||||
|
color: var(--secondary-foreground);
|
||||||
|
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
overflow: hidden;
|
||||||
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue