Skip to content

Commit 2c54514

Browse files
committed
Remove now-unnecessary FULL_SCREEN_TOGGLED_CLASS_NAME
1 parent 471faff commit 2c54514

4 files changed

Lines changed: 1 addition & 13 deletions

File tree

x-pack/plugins/security_solution/common/constants.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ export const DEFAULT_INTERVAL_TYPE = 'manual' as const;
6060
export const DEFAULT_INTERVAL_VALUE = 300000 as const; // ms
6161
export const DEFAULT_TIMEPICKER_QUICK_RANGES = 'timepicker:quickRanges' as const;
6262
export const SCROLLING_DISABLED_CLASS_NAME = 'scrolling-disabled' as const;
63-
export const FULL_SCREEN_TOGGLED_CLASS_NAME = 'fullScreenToggled' as const;
6463
export const NO_ALERT_INDEX = 'no-alert-index-049FC71A-4C2C-446F-9901-37XMC5024C51' as const;
6564
export const ENDPOINT_METADATA_INDEX = 'metrics-endpoint.metadata-*' as const;
6665
export const ENDPOINT_METRICS_INDEX = '.ds-metrics-endpoint.metrics-*' as const;

x-pack/plugins/security_solution/public/common/components/header_actions/header_actions.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ import { DEFAULT_ACTION_BUTTON_WIDTH } from '.';
2424
import { EventsTh, EventsThContent } from '../../../timelines/components/timeline/styles';
2525
import { StatefulRowRenderersBrowser } from '../../../timelines/components/row_renderers_browser';
2626
import { EXIT_FULL_SCREEN } from '../exit_full_screen/translations';
27-
import { FULL_SCREEN_TOGGLED_CLASS_NAME } from '../../../../common/constants';
2827
import { EventsSelect } from '../../../timelines/components/timeline/body/column_headers/events_select';
2928
import * as i18n from './translations';
3029

x-pack/plugins/security_solution/public/common/components/page/index.tsx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
import { EuiBadge, EuiDescriptionList, EuiFlexGroup, EuiIcon } from '@elastic/eui';
99
import styled, { createGlobalStyle, css } from 'styled-components';
1010

11-
import { FULL_SCREEN_TOGGLED_CLASS_NAME } from '../../../../common/constants';
12-
1311
export const SecuritySolutionAppWrapper = styled.div`
1412
display: flex;
1513
flex-direction: column;
@@ -89,11 +87,6 @@ export const AppGlobalStyle = createGlobalStyle<{
8987
}
9088
}
9189
92-
/* applies a "toggled" button style to the Full Screen button */
93-
.${FULL_SCREEN_TOGGLED_CLASS_NAME} {
94-
${({ theme }) => `background-color: ${theme.eui.euiColorPrimary} !important`};
95-
}
96-
9790
/*
9891
EuiScreenReaderOnly has a default 1px height and width. These extra pixels
9992
were adding additional height to every table row in the alerts table on the

x-pack/plugins/security_solution/public/timelines/components/timeline/session_tab_content/use_session_view.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,7 @@ import { TimelineTabs } from '../../../../../common/types/timeline';
2424
import { useDetailPanel } from '../../side_panel/hooks/use_detail_panel';
2525
import { SourcererScopeName } from '../../../../common/store/sourcerer/model';
2626
import { isFullScreen } from '../body/column_headers';
27-
import {
28-
SCROLLING_DISABLED_CLASS_NAME,
29-
FULL_SCREEN_TOGGLED_CLASS_NAME,
30-
} from '../../../../../common/constants';
27+
import { SCROLLING_DISABLED_CLASS_NAME } from '../../../../../common/constants';
3128
import { FULL_SCREEN } from '../body/column_headers/translations';
3229
import { EXIT_FULL_SCREEN } from '../../../../common/components/exit_full_screen/translations';
3330
import {

0 commit comments

Comments
 (0)