From 9276118a37b270a0216fd42675b3b27c31ef4dae Mon Sep 17 00:00:00 2001 From: Corey Date: Sun, 12 May 2024 00:03:29 +0000 Subject: [PATCH] Adjust expansion bar styling --- .../src/components/Server/ExpansionsBar.tsx | 24 ++++++++++++------- client/src/components/Server/ServerCard.tsx | 4 ++-- client/src/pages/About.tsx | 5 ++-- 3 files changed, 20 insertions(+), 13 deletions(-) diff --git a/client/src/components/Server/ExpansionsBar.tsx b/client/src/components/Server/ExpansionsBar.tsx index b7429c3..acea673 100644 --- a/client/src/components/Server/ExpansionsBar.tsx +++ b/client/src/components/Server/ExpansionsBar.tsx @@ -1,5 +1,11 @@ -import { AddCircleOutline } from '@mui/icons-material'; -import { Box, ToggleButton, ToggleButtonGroup, Tooltip } from '@mui/material'; +import { AddCircle } from '@mui/icons-material'; +import { + Box, + IconButton, + ToggleButton, + ToggleButtonGroup, + Tooltip, +} from '@mui/material'; import { ServerData } from '../../data/ServerData'; const expansionButtons = [ @@ -67,7 +73,7 @@ export default function ExpansionBar({ server }: ExpansionBarProps) { }); return ( - + - + + + )} diff --git a/client/src/components/Server/ServerCard.tsx b/client/src/components/Server/ServerCard.tsx index a44ee91..ed6a2ad 100644 --- a/client/src/components/Server/ServerCard.tsx +++ b/client/src/components/Server/ServerCard.tsx @@ -128,7 +128,7 @@ export default function ServerCard({ server, children }: ServerCardProps) { ? 'rgba(255, 255, 255, .05)' : 'rgba(0, 0, 0, .02)', '& .MuiAccordionSummary-content': { - margin: (theme) => theme.spacing(0), + margin: 0, }, boxShadow: '0 0 10px rgba(0, 0, 0, 0.1)', minHeight: '32px', @@ -271,7 +271,7 @@ export default function ServerCard({ server, children }: ServerCardProps) { theme.palette.mode === 'dark' diff --git a/client/src/pages/About.tsx b/client/src/pages/About.tsx index 2ce8f81..340b3f4 100644 --- a/client/src/pages/About.tsx +++ b/client/src/pages/About.tsx @@ -134,7 +134,6 @@ export default function About() { relevant changes you've made using the LSB equivalent. Settings should be served at /api/settings and total active sessions should be served at /api/sessions. - Enabled expansions are controlled by the LOGIN settings. @@ -164,7 +163,7 @@ xi.settings.api = The world server needs to be restarted after any changes to any of the settings. If you set DO_NOT_TRACK to true, - your server will be removed on the next hourly update. + your server will be removed on the next update. @@ -195,7 +194,7 @@ xi.settings.api = XiPrivateServers GitHub {' '} and see if it's listed there. Server owners see above for - information on how to add a Link href your website. + information on how to add a link to your website.