mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
[fleet][ui] Fix offset image; scrollbar flashing; missing assets in Stories (#114406)
This commit is contained in:
parent
930fe96260
commit
25fef38f12
3 changed files with 9 additions and 5 deletions
|
@ -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',
|
||||
|
|
|
@ -39,15 +39,13 @@ 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';
|
||||
|
||||
const ErrorLayout = ({ children }: { children: JSX.Element }) => (
|
||||
<EuiErrorBoundary>
|
||||
<DefaultLayout>
|
||||
<WithoutHeaderLayout>{children}</WithoutHeaderLayout>
|
||||
</DefaultLayout>
|
||||
<DefaultLayout>{children}</DefaultLayout>
|
||||
</EuiErrorBoundary>
|
||||
);
|
||||
|
||||
|
|
|
@ -28,6 +28,8 @@ interface Props {
|
|||
|
||||
const Illustration = styled(EuiImage)`
|
||||
margin-bottom: -68px;
|
||||
position: relative;
|
||||
top: -20px;
|
||||
width: 80%;
|
||||
`;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue