Responsive cards
This commit is contained in:
parent
9664ba0824
commit
cde2c81f0f
|
@ -39,13 +39,23 @@ const LogsPage = () => {
|
||||||
>
|
>
|
||||||
<TitleLogo />
|
<TitleLogo />
|
||||||
<Stack style={{ width: '100%', alignItems: 'center' }}>
|
<Stack style={{ width: '100%', alignItems: 'center' }}>
|
||||||
<LogsTerminal windowWidth={windowWidth}/>
|
<LogsTerminal windowWidth={windowWidth} />
|
||||||
<XStack space="$4">
|
<Stack
|
||||||
|
space="$4"
|
||||||
|
style={{
|
||||||
|
display: 'flex',
|
||||||
|
flexDirection: 'row',
|
||||||
|
flexWrap: 'wrap',
|
||||||
|
gap: '1vw',
|
||||||
|
width: '100%',
|
||||||
|
}}
|
||||||
|
width={'90%'}
|
||||||
|
>
|
||||||
<LogsSumCard type={'Critical'} count={16} countActive={2} countInactive={3} />
|
<LogsSumCard type={'Critical'} count={16} countActive={2} countInactive={3} />
|
||||||
<LogsSumCard type={'Warning'} count={9} countActive={2} countInactive={7} />
|
<LogsSumCard type={'Warning'} count={9} countActive={2} countInactive={7} />
|
||||||
<LogsSumCard type={'Critical'} count={6} countActive={2} countInactive={0} />
|
<LogsSumCard type={'Critical'} count={6} countActive={2} countInactive={0} />
|
||||||
<SupportCard />
|
<SupportCard />
|
||||||
</XStack>
|
</Stack>
|
||||||
</Stack>
|
</Stack>
|
||||||
</YStack>
|
</YStack>
|
||||||
<RightSidebar />
|
<RightSidebar />
|
||||||
|
|
|
@ -12,7 +12,7 @@ type LogsSumCardProps = {
|
||||||
}
|
}
|
||||||
const LogsSumCard = ({ type, count, countActive, countInactive }: LogsSumCardProps) => {
|
const LogsSumCard = ({ type, count, countActive, countInactive }: LogsSumCardProps) => {
|
||||||
return (
|
return (
|
||||||
<DashboardCardWrapper>
|
<DashboardCardWrapper maxWidth='260px'>
|
||||||
<YStack
|
<YStack
|
||||||
style={{
|
style={{
|
||||||
borderRadius: '16px',
|
borderRadius: '16px',
|
||||||
|
|
Loading…
Reference in New Issue