Skip to content

Commit

Permalink
fix style issues
Browse files Browse the repository at this point in the history
  • Loading branch information
VipinDevelops committed Sep 8, 2024
1 parent 50d8550 commit a0d1f24
Showing 1 changed file with 4 additions and 16 deletions.
20 changes: 4 additions & 16 deletions web-server/src/components/Service/SystemStatus.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,12 @@ export const SystemStatus: FC = () => {

return (
<FlexBox col gap={2} padding={'16px'}>
<Line bold white fontSize="24px" marginBottom={2}>
<Line bold white huge marginBottom={2}>
System Status
</Line>
<Divider sx={{ mb: 2, backgroundColor: theme.colors.secondary.light }} />

{loading ? (
<FlexBox justifyCenter alignCenter minHeight={'50vh'}>
<FlexBox justifyCenter alignCenter fill>
<CircularProgress size={'60px'} />
</FlexBox>
) : (
Expand All @@ -102,13 +101,7 @@ export const SystemStatus: FC = () => {
>
<FlexBox col flexGrow={1} minHeight="5em">
<FlexBox alignCenter justifyContent="space-between">
<Line
white
bold
fontSize={'1.2em'}
display={'flex'}
alignItems={'center'}
>
<Line white bold bigish display={'flex'}>
{serviceTitle[serviceKey]}
<FlexBox
component="span"
Expand All @@ -127,12 +120,7 @@ export const SystemStatus: FC = () => {

<FlexBox col relative fullWidth flexGrow={1}>
<FlexBox alignCenter fullWidth paddingTop={'8px'}>
<Line
fontWeight={'500'}
fontSize={'0.95em'}
lineHeight={'1.4'}
white
>
<Line semibold white>
Status:{' '}
<span
style={{
Expand Down

0 comments on commit a0d1f24

Please sign in to comment.