mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
DashboardsList: Fix height issue in topnav (#56661)
This commit is contained in:
@@ -9,6 +9,8 @@ interface Props {
|
||||
className?: string;
|
||||
}
|
||||
|
||||
export const PageContents: FC<Props> = ({ isLoading, children }) => {
|
||||
return <>{isLoading ? <PageLoader /> : children}</>;
|
||||
export const PageContents: FC<Props> = ({ isLoading, children, className }) => {
|
||||
let content = className ? <div className={className}>{children}</div> : children;
|
||||
|
||||
return <>{isLoading ? <PageLoader /> : content}</>;
|
||||
};
|
||||
|
||||
@@ -45,6 +45,7 @@ export const DashboardListPage: FC<Props> = memo(({ match, location }) => {
|
||||
className={css`
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
`}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user