mirror of
https://github.com/SigNoz/signoz.git
synced 2025-12-24 02:46:27 +00:00
25 lines
547 B
TypeScript
25 lines
547 B
TypeScript
import { PANEL_TYPES } from 'constants/queryBuilder';
|
|
import styled, { css, FlattenSimpleInterpolation } from 'styled-components';
|
|
|
|
interface Props {
|
|
$panelType: PANEL_TYPES;
|
|
}
|
|
|
|
export const NotFoundContainer = styled.div`
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
min-height: 55vh;
|
|
`;
|
|
|
|
export const TimeContainer = styled.div<Props>`
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
${({ $panelType }): FlattenSimpleInterpolation =>
|
|
$panelType === PANEL_TYPES.TABLE
|
|
? css`
|
|
margin-bottom: 1rem;
|
|
`
|
|
: css``}
|
|
`;
|