mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-10-23 07:01:06 +08:00
36 lines
671 B
TypeScript
36 lines
671 B
TypeScript
import { Form as FormComponent, Typography as TypographyComponent } from 'antd';
|
|
import styled from 'styled-components';
|
|
|
|
export const Form = styled(FormComponent)`
|
|
&&& {
|
|
justify-content: flex-end;
|
|
}
|
|
`;
|
|
|
|
export const Typography = styled(TypographyComponent)`
|
|
&&& {
|
|
text-align: right;
|
|
}
|
|
`;
|
|
|
|
export const FormItem = styled(Form.Item)`
|
|
&&& {
|
|
margin: 0;
|
|
}
|
|
`;
|
|
|
|
interface Props {
|
|
refreshButtonHidden: boolean;
|
|
}
|
|
|
|
export const RefreshTextContainer = styled.div<Props>`
|
|
min-height: 2rem;
|
|
visibility: ${({ refreshButtonHidden }): string =>
|
|
refreshButtonHidden ? 'hidden' : 'visible'};
|
|
`;
|
|
|
|
export const FormContainer = styled.div`
|
|
display: flex;
|
|
gap: 0.1rem;
|
|
`;
|