mirror of
https://github.com/SigNoz/signoz.git
synced 2025-12-21 09:26:52 +00:00
20 lines
473 B
TypeScript
20 lines
473 B
TypeScript
|
|
import styled from 'styled-components';
|
||
|
|
|
||
|
|
interface Props {
|
||
|
|
isDashboardPage: boolean;
|
||
|
|
}
|
||
|
|
export const ValueContainer = styled.div<Props>`
|
||
|
|
height: ${({ isDashboardPage }): string =>
|
||
|
|
isDashboardPage ? '100%' : '55vh'};
|
||
|
|
display: flex;
|
||
|
|
justify-content: center;
|
||
|
|
align-items: center;
|
||
|
|
flex-direction: column;
|
||
|
|
`;
|
||
|
|
|
||
|
|
export const TitleContainer = styled.div<Props>`
|
||
|
|
text-align: center;
|
||
|
|
padding-top: ${({ isDashboardPage }): string =>
|
||
|
|
!isDashboardPage ? '1rem' : '0rem'};
|
||
|
|
`;
|