Skip to content

Commit

Permalink
[fleet][ui] Fix offset image; scrollbar flashing; missing assets in S…
Browse files Browse the repository at this point in the history
…tories (#114406) (#115037)

Co-authored-by: Clint Andrew Hall <[email protected]>
  • Loading branch information
thomasneirynck and clintandrewhall authored Oct 14, 2021
1 parent 0a952db commit ee3f2e9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
6 changes: 5 additions & 1 deletion packages/kbn-storybook/src/lib/run_storybook_cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,11 @@ export function runStorybookCli({ configDir, name }: { configDir: string; name:
async ({ flags, log }) => {
log.debug('Global config:\n', constants);

const staticDir = [UiSharedDepsNpm.distDir, UiSharedDepsSrc.distDir];
const staticDir = [
UiSharedDepsNpm.distDir,
UiSharedDepsSrc.distDir,
'src/plugins/kibana_react/public/assets:plugins/kibanaReact/assets',
];
const config: Record<string, any> = {
configDir,
mode: flags.site ? 'static' : 'dev',
Expand Down
6 changes: 2 additions & 4 deletions x-pack/plugins/fleet/public/applications/integrations/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,14 @@ import { Error, Loading, SettingFlyout } from './components';
import type { UIExtensionsStorage } from './types';

import { EPMApp } from './sections/epm';
import { DefaultLayout, WithoutHeaderLayout } from './layouts';
import { DefaultLayout } from './layouts';
import { PackageInstallProvider } from './hooks';
import { useBreadcrumbs, UIExtensionsContext } from './hooks';
import { IntegrationsHeader } from './components/header';

const ErrorLayout = ({ children }: { children: JSX.Element }) => (
<EuiErrorBoundary>
<DefaultLayout>
<WithoutHeaderLayout>{children}</WithoutHeaderLayout>
</DefaultLayout>
<DefaultLayout>{children}</DefaultLayout>
</EuiErrorBoundary>
);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ interface Props {

const Illustration = styled(EuiImage)`
margin-bottom: -68px;
position: relative;
top: -20px;
width: 80%;
`;

Expand Down

0 comments on commit ee3f2e9

Please sign in to comment.