mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-07-26 03:14:24 +08:00

* refactor: initial setup * refactor: created panelWrapper to separate panel data * fix: type error * fix: the dimension issue for graphs * refactor: done with table value uplot panels * refactor: done with logs panel component * refactor: updated props for log panel component * fix: query range duplicate issue for logs * refactor: trace list view done * fix: full view support * refactor: done with edit mode for panels * refactor: type and props * refactor: reduce an extra api call on edit for list view * refactor: done with full graph visibility handler * refactor: removed commented code * refactor: removed commented code * fix: build failure * refactor: updated service layer graphs * refactor: updated top level oparation query key * refactor: added drag select * refactor: done with drag select in chart * refactor: code cleanup * refactor: legend should not need stage and run query
51 lines
793 B
TypeScript
51 lines
793 B
TypeScript
import {
|
|
Card as CardComponent,
|
|
Col as ColComponent,
|
|
Row as RowComponent,
|
|
Typography,
|
|
} from 'antd';
|
|
import styled from 'styled-components';
|
|
|
|
export const Card = styled(CardComponent)`
|
|
&&& {
|
|
height: 40vh;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.ant-card-body {
|
|
height: 100%;
|
|
padding: 0;
|
|
}
|
|
`;
|
|
|
|
export const Row = styled(RowComponent)`
|
|
&&& {
|
|
padding: 1rem;
|
|
}
|
|
`;
|
|
|
|
export const Col = styled(ColComponent)`
|
|
display &&& {
|
|
position: relative;
|
|
}
|
|
`;
|
|
|
|
export const ColApDexContainer = styled(ColComponent)`
|
|
padding: 0 !important;
|
|
`;
|
|
|
|
export const ColErrorContainer = styled(ColComponent)`
|
|
padding: 2rem 0 !important;
|
|
`;
|
|
|
|
export const GraphContainer = styled.div`
|
|
min-height: calc(40vh - 40px);
|
|
height: 100%;
|
|
`;
|
|
|
|
export const GraphTitle = styled(Typography)`
|
|
&&& {
|
|
text-align: center;
|
|
}
|
|
`;
|