Skip to content
Snippets Groups Projects
Commit 86aa869e authored by nizune's avatar nizune
Browse files

Fix: Small changes to profile context menu

parent 12b04a98
Branches
No related merge requests found
......@@ -2,6 +2,7 @@ import { Text } from "preact-i18n";
import { useContext, useEffect, useState } from "preact/hooks";
import { User } from "revolt.js";
import Details from "../../../components/ui/Details";
import Category from "../../ui/Category";
import { useParams } from "react-router";
import { UserButton } from "../items/ButtonItem";
......
......@@ -118,7 +118,6 @@
.divider {
width: 1px;
height: 24px;
margin: 0 8px;
background: var(--primary-background);
}
......
......@@ -57,7 +57,7 @@ export default function Friends() {
<div className={styles.actions}>
{/*<Tooltip content={"Create Category"} placement="bottom">
<IconButton onClick={() => openScreen({ id: 'special_input', type: 'create_group' })}>
<ListPlus size={24} />
<ListPlus size={28} />
</IconButton>
</Tooltip>
<div className={styles.divider} />*/}
......
......@@ -49,7 +49,7 @@ export function Roles({ server }: Props) {
<div className={styles.list}>
<div className={styles.title}>
<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) })} />
</div>
{ [ 'default', ...Object.keys(roles) ]
......
......@@ -51,7 +51,13 @@
}
.status {
font-size: .6rem;
max-width: 132px;
font-size: .625rem;
color: var(--secondary-foreground);
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment