Skip to content

Commit

Permalink
chore: set AsyncComponent height to full while loading
Browse files Browse the repository at this point in the history
  • Loading branch information
mkholjuraev committed May 22, 2024
1 parent b5f3ebe commit 1cff3e1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/components/src/AsyncComponent/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { ScalprumComponent, ScalprumComponentProps } from '@scalprum/react-core'
import { Bullseye, Spinner } from '@patternfly/react-core';
import classNames from 'classnames';
import { ChromeAPI } from '@redhat-cloud-services/types';

export type ExcludeModulesKeys = 'appName' | 'module' | 'scope';

export interface AsyncComponentProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
Expand Down Expand Up @@ -49,7 +48,7 @@ const BaseAsyncComponent: React.FunctionComponent<BaseAsyncComponentProps> = ({
...props,
};
return (
<Cmp className={classNames(className, appName)}>
<Cmp className={classNames(className, appName, 'pf-v5-u-h-100')}>
<ScalprumComponent {...SCProps} />
</Cmp>
);
Expand Down

0 comments on commit 1cff3e1

Please sign in to comment.