mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-10 01:03:36 -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-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);
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue