mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-10-12 17:31:29 +08:00

* chore: added jsx-runtime plugin in eslint tsconfig Signed-off-by: GermaVinsmoke <vaibhav1180@gmail.com> * chore: updated react imports Signed-off-by: GermaVinsmoke <vaibhav1180@gmail.com> * chore: renamed redux dispatch Signed-off-by: GermaVinsmoke <vaibhav1180@gmail.com> * fix: build is fixed --------- Signed-off-by: GermaVinsmoke <vaibhav1180@gmail.com> Co-authored-by: Palash Gupta <palashgdev@gmail.com>
24 lines
575 B
TypeScript
24 lines
575 B
TypeScript
import { themeColors } from 'constants/theme';
|
|
import { CSSProperties } from 'react';
|
|
|
|
const positionCss: CSSProperties['position'] = 'fixed';
|
|
|
|
export const spinnerStyles = { position: positionCss, right: '0.5rem' };
|
|
export const tooltipStyles = {
|
|
fontSize: '1rem',
|
|
top: '0.313rem',
|
|
position: positionCss,
|
|
right: '0.313rem',
|
|
color: themeColors.errorColor,
|
|
};
|
|
|
|
export const errorTooltipPosition = 'top';
|
|
|
|
export const overlayStyles: CSSProperties = {
|
|
display: 'flex',
|
|
flexDirection: 'column',
|
|
alignItems: 'center',
|
|
justifyContent: 'center',
|
|
position: 'absolute',
|
|
};
|