mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-10-14 13:01:30 +08:00

* feat: add the ability to share a link to a log line * fix: update tooltip * fix: resolve comments regarding query params * fix: resolve comments * feat: add logs context * feat: add highlighting active items * fix: resolve comments * feat: fix showing log lines * fix: update logs ordering * fix: update page size and logs saving * fix: update related to comments * feat: logs context is updated --------- Co-authored-by: Palash Gupta <palashgdev@gmail.com>
31 lines
758 B
TypeScript
31 lines
758 B
TypeScript
import { Button, Space } from 'antd';
|
|
import { themeColors } from 'constants/theme';
|
|
import styled from 'styled-components';
|
|
import getAlphaColor from 'utils/getAlphaColor';
|
|
|
|
export const TitleWrapper = styled(Space.Compact)`
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
`;
|
|
|
|
export const EditButton = styled(Button)<{ $isDarkMode: boolean }>`
|
|
margin-right: 0.938rem;
|
|
width: 1.375rem !important;
|
|
height: 1.375rem;
|
|
position: absolute;
|
|
|
|
top: 1rem;
|
|
right: 1.563rem;
|
|
padding: 0;
|
|
|
|
border-radius: 0.125rem;
|
|
|
|
border-start-start-radius: 0.125rem !important;
|
|
border-end-start-radius: 0.125rem !important;
|
|
|
|
color: ${({ $isDarkMode }): string =>
|
|
$isDarkMode
|
|
? getAlphaColor(themeColors.white)[45]
|
|
: getAlphaColor(themeColors.black)[45]};
|
|
`;
|