Skip to content

Commit eba1d8a

Browse files
karestiandyuk1986
authored andcommitted
[#610] Fixes correct way to import chart css
1 parent b66a58e commit eba1d8a

File tree

4 files changed

+9
-2
lines changed

4 files changed

+9
-2
lines changed

package-lock.json

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@
8282
"webpack-merge": "^6.0.1"
8383
},
8484
"dependencies": {
85+
"@patternfly/patternfly": "^6.3.0",
8586
"@patternfly/react-charts": "^8.3.0",
8687
"@patternfly/react-code-editor": "^6.3.0",
8788
"@patternfly/react-component-groups": "^6.3.0",

src/app/app.css

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ html,
22
body,
33
#root {
44
height: 100%;
5-
--pf-v6-chart-axis--tick-label--Fill: var(--pf-v6-c-content--Color);
6-
--pf-v6-chart-global--label--Fill: var(--pf-v6-c-content--Color);
75
}
86

97
.caches-table {

src/app/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import React from 'react';
22
import '@patternfly/react-core/dist/styles/base.css';
3+
import '@patternfly/patternfly/patternfly-charts.css';
34
import { BrowserRouter as Router } from 'react-router-dom';
45
import { AppLayout } from '@app/AppLayout/AppLayout';
56
import { AppRoutes } from '@app/routes';

0 commit comments

Comments
 (0)