mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-14 03:25:57 +08:00
fix: tabs is updated (#3260)
This commit is contained in:
parent
e61b0a4d67
commit
7fb29ad2ee
@ -1,13 +1,5 @@
|
||||
import { Tabs } from 'antd';
|
||||
import { themeColors } from 'constants/theme';
|
||||
import styled from 'styled-components';
|
||||
|
||||
export const TabsStyled = styled(Tabs)`
|
||||
& .ant-tabs-nav {
|
||||
background-color: ${themeColors.lightBlack};
|
||||
}
|
||||
`;
|
||||
|
||||
export const ActionsWrapper = styled.div`
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { TabsProps } from 'antd';
|
||||
import { Tabs, TabsProps } from 'antd';
|
||||
import TabLabel from 'components/TabLabel';
|
||||
import { QueryParams } from 'constants/query';
|
||||
import {
|
||||
@ -40,7 +40,7 @@ import {
|
||||
import { DataSource, StringOperators } from 'types/common/queryBuilder';
|
||||
import { GlobalReducer } from 'types/reducer/globalTime';
|
||||
|
||||
import { ActionsWrapper, TabsStyled } from './LogsExplorerViews.styled';
|
||||
import { ActionsWrapper } from './LogsExplorerViews.styled';
|
||||
|
||||
function LogsExplorerViews(): JSX.Element {
|
||||
const { notifications } = useNotifications();
|
||||
@ -480,7 +480,7 @@ function LogsExplorerViews(): JSX.Element {
|
||||
/>
|
||||
</ActionsWrapper>
|
||||
)}
|
||||
<TabsStyled
|
||||
<Tabs
|
||||
items={tabsItems}
|
||||
defaultActiveKey={panelType || PANEL_TYPES.LIST}
|
||||
activeKey={panelType || PANEL_TYPES.LIST}
|
||||
|
Loading…
x
Reference in New Issue
Block a user