Skip to content

Commit

Permalink
fix layout in safari
Browse files Browse the repository at this point in the history
  • Loading branch information
neptunian committed Oct 29, 2019
1 parent 84bcdcc commit d3f28e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/legacy/plugins/integrations_manager/public/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import { routes } from './routes';
export type DetailViewPanelName = 'overview' | 'assets' | 'data-sources';

const REACT_APP_ROOT_ID = 'epm__root';
const template = `<div id="${REACT_APP_ROOT_ID}" style="flex-grow: 1"></div>`;
const template = `<div id="${REACT_APP_ROOT_ID}" style="flex-grow: 1; display: flex; flex-direction: column"></div>`;
const getRootEl = () => document.getElementById(REACT_APP_ROOT_ID);

main();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ export function DetailLayout(props: LayoutProps) {
background-color: ${theme.eui.euiColorEmptyShade};
height: 100%;
padding-top: ${paddingSizeTop}px;
flex-grow: 1;
`;

return (
Expand Down

0 comments on commit d3f28e8

Please sign in to comment.