mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-07 10:19:02 +08:00
fix: text is updated in the light and dark mode (#1318)
This commit is contained in:
parent
47e6e00a64
commit
d0e272b679
@ -15,6 +15,7 @@ import AppReducer from 'types/reducer/app';
|
||||
import menus from './menuItems';
|
||||
import Slack from './Slack';
|
||||
import {
|
||||
Name,
|
||||
RedDot,
|
||||
Sider,
|
||||
SlackButton,
|
||||
@ -103,8 +104,8 @@ function SideNav(): JSX.Element {
|
||||
icon={<Icon />}
|
||||
onClick={(): void => onClickHandler(to)}
|
||||
>
|
||||
<Space style={{ position: 'relative' }}>
|
||||
<Typography>{name}</Typography>
|
||||
<Space>
|
||||
<Name ellipsis>{name}</Name>
|
||||
{tags &&
|
||||
tags.map((e) => (
|
||||
<Tags style={{ lineHeight: '1rem' }} color="#177DDC" key={e}>
|
||||
|
@ -83,3 +83,9 @@ export const Tags = styled(Tag)`
|
||||
border-radius: 0.5rem;
|
||||
}
|
||||
`;
|
||||
|
||||
export const Name = styled(Typography.Paragraph)`
|
||||
&&& {
|
||||
margin: 0;
|
||||
}
|
||||
`;
|
||||
|
Loading…
x
Reference in New Issue
Block a user