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
No related merge requests found
...@@ -2,6 +2,7 @@ import { Text } from "preact-i18n"; ...@@ -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 @@ ...@@ -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() { ...@@ -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) { ...@@ -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 @@ ...@@ -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;
} }
} }
......
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