Skip to content

Commit

Permalink
Fixed background color of drawer
Browse files Browse the repository at this point in the history
  • Loading branch information
dlabrecq committed Sep 8, 2023
1 parent 1066b92 commit d6ebf80
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 16 deletions.
10 changes: 0 additions & 10 deletions src/components/drawers/commonDrawer/commonDrawer.scss

This file was deleted.

8 changes: 3 additions & 5 deletions src/components/drawers/commonDrawer/commonDrawer.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import './commonDrawer.scss';

import { Drawer, DrawerContent, DrawerContentBody } from '@patternfly/react-core';
import { Drawer, DrawerContent } from '@patternfly/react-core';
import { ExportsDrawer } from 'components/drawers';
import { OptimizationsDrawer } from 'components/drawers';
import React from 'react';
Expand Down Expand Up @@ -56,8 +54,8 @@ class CommonDrawerBase extends React.Component<CommonDrawerProps> {
// https://github.com/redhat-developer/rhosak-ui/blob/main/packages/ui/src/components/KafkaInstanceDrawer/KafkaInstanceDrawer.tsx#L69-L78
return (
<Drawer className="drawerOverride" isExpanded={isExpanded} onExpand={this.handleExpand}>
<DrawerContent panelContent={this.getPanelContent()}>
<DrawerContentBody className="pf-u-display-flex pf-u-flex-direction-column">{children}</DrawerContentBody>
<DrawerContent colorVariant="light-200" panelContent={this.getPanelContent()}>
{children}
</DrawerContent>
</Drawer>
);
Expand Down
2 changes: 1 addition & 1 deletion src/routes/optimizations/optimizations.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ const Optimizations: React.FC<OptimizationsProps> = () => {
return (
<div style={styles.container}>
<OptimizationsHeader />
<PageSection>
<PageSection isFilled>
{getToolbar()}
{reportFetchStatus === FetchStatus.inProgress ? (
<Loading
Expand Down

0 comments on commit d6ebf80

Please sign in to comment.