fix(settings): improved server settings tabs

This commit is contained in:
trashtemp 2021-12-24 22:54:46 +01:00
parent 5169066772
commit 9b4619cbd1
No known key found for this signature in database
GPG key ID: D1F0DB65081B0FC6
3 changed files with 11 additions and 11 deletions

View file

@ -66,14 +66,13 @@ const PlaceholderBase = styled.div`
animation-duration: 3s;
animation-iteration-count: infinite;
animation-timing-function: ease-in-out;
margin-left: 30px;
margin-top: 5px;
}
.placeholder {
justify-content: center;
text-align: center;
margin: auto;
padding: 12px;
.primary {
color: var(--secondary-foreground);

View file

@ -50,7 +50,7 @@ export default observer(() => {
<GenericSettings
pages={[
{
category: <Category variant="uniform" text={server.name} />,
category: <div>{server.name}</div>,
id: "overview",
icon: <InfoCircle size={20} />,
title: (
@ -66,6 +66,13 @@ export default observer(() => {
hideTitle: true,
},
{
id: "roles",
icon: <FlagAlt size={20} />,
title: <Text id="app.settings.server_pages.roles.title" />,
hideTitle: true,
},
{
category: "User Management",
id: "members",
icon: <Group size={20} />,
title: (
@ -84,12 +91,6 @@ export default observer(() => {
icon: <UserX size={20} />,
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={
<Switch>

View file

@ -486,7 +486,7 @@
}
.entry > span > span {
gap: 12px;
gap: 8px;
display: flex;
align-items: center;
flex-direction: row;
@ -501,7 +501,7 @@
}
> img {
height: 32px !important;
height: 28px !important;
}
}