Skip to content

Commit

Permalink
[8.2.1][Security Solution][Session view] fix full screen session view…
Browse files Browse the repository at this point in the history
… margin (#130496)

* Fix right spacing of full screen session view

* Add full height to session view detail panel
  • Loading branch information
Jack authored Apr 18, 2022
1 parent 188c420 commit 08d61f3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ const StyledResolver = styled(Resolver)`
`;

const ScrollableFlexItem = styled(EuiFlexItem)`
${({ theme }) => `margin: 0 ${theme.eui.euiSizeM};`}
${({ theme }) => `padding: 0 ${theme.eui.euiSizeM};
background-color: ${theme.eui.euiColorEmptyShade};`}
overflow: hidden;
width: 100%;
`;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ import { CSSObject } from '@emotion/react';
export const useStyles = () => {
const { euiTheme } = useEuiTheme();
const cached = useMemo(() => {
const { border, colors } = euiTheme;
const { border } = euiTheme;

const detailsPanel: CSSObject = {
borderLeft: border.thin,
backgroundColor: colors.emptyShade,
height: '100%',
};

return {
Expand Down

0 comments on commit 08d61f3

Please sign in to comment.