mirror of
https://github.com/revoltchat/revite.git
synced 2025-01-12 15:31:26 -05:00
fix(settings): improved server settings tabs
This commit is contained in:
parent
5169066772
commit
9b4619cbd1
3 changed files with 11 additions and 11 deletions
|
@ -66,14 +66,13 @@ const PlaceholderBase = styled.div`
|
||||||
animation-duration: 3s;
|
animation-duration: 3s;
|
||||||
animation-iteration-count: infinite;
|
animation-iteration-count: infinite;
|
||||||
animation-timing-function: ease-in-out;
|
animation-timing-function: ease-in-out;
|
||||||
margin-left: 30px;
|
|
||||||
margin-top: 5px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.placeholder {
|
.placeholder {
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
|
padding: 12px;
|
||||||
|
|
||||||
.primary {
|
.primary {
|
||||||
color: var(--secondary-foreground);
|
color: var(--secondary-foreground);
|
||||||
|
|
|
@ -50,7 +50,7 @@ export default observer(() => {
|
||||||
<GenericSettings
|
<GenericSettings
|
||||||
pages={[
|
pages={[
|
||||||
{
|
{
|
||||||
category: <Category variant="uniform" text={server.name} />,
|
category: <div>{server.name}</div>,
|
||||||
id: "overview",
|
id: "overview",
|
||||||
icon: <InfoCircle size={20} />,
|
icon: <InfoCircle size={20} />,
|
||||||
title: (
|
title: (
|
||||||
|
@ -66,6 +66,13 @@ export default observer(() => {
|
||||||
hideTitle: true,
|
hideTitle: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
id: "roles",
|
||||||
|
icon: <FlagAlt size={20} />,
|
||||||
|
title: <Text id="app.settings.server_pages.roles.title" />,
|
||||||
|
hideTitle: true,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
category: "User Management",
|
||||||
id: "members",
|
id: "members",
|
||||||
icon: <Group size={20} />,
|
icon: <Group size={20} />,
|
||||||
title: (
|
title: (
|
||||||
|
@ -84,12 +91,6 @@ export default observer(() => {
|
||||||
icon: <UserX size={20} />,
|
icon: <UserX size={20} />,
|
||||||
title: <Text id="app.settings.server_pages.bans.title" />,
|
title: <Text id="app.settings.server_pages.bans.title" />,
|
||||||
},
|
},
|
||||||
{
|
|
||||||
id: "roles",
|
|
||||||
icon: <FlagAlt size={20} />,
|
|
||||||
title: <Text id="app.settings.server_pages.roles.title" />,
|
|
||||||
hideTitle: true,
|
|
||||||
},
|
|
||||||
]}
|
]}
|
||||||
children={
|
children={
|
||||||
<Switch>
|
<Switch>
|
||||||
|
|
|
@ -486,7 +486,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.entry > span > span {
|
.entry > span > span {
|
||||||
gap: 12px;
|
gap: 8px;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
|
@ -501,7 +501,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
> img {
|
> img {
|
||||||
height: 32px !important;
|
height: 28px !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue