-
Type:
Feature Request
-
Status: Open
-
Resolution: Unresolved
-
Affects Version/s: Master
-
Fix Version/s: None
-
Component/s: AMD Module Loader
-
Labels:None
Summary: Charts rendering without CSS
Steps to reproduce:
1. Using @clayui/charts in some Liferay web module (React)
2. Add the LineChart component in a page
3. Build and go to the page
4. Check if the chart is rendered properly
Actual Result: The chart renders without the CSS (Lexicon style). Refer to actual.png. As a workaround, it was tried to import the css, but without success:
@import '@clayui/charts/lib/css/main.css';@import '~@clayui/charts/lib/css/main.css';@import '@clayui/charts/lib/css/main.css';@import '~@clayui/charts/lib/css/main.css';@import url('@clayui/charts/lib/css/main.css');@import url('~@clayui/charts/lib/css/main.css');
Expected Result: The chart should render with the CSS (Lexicon style). (expected.png)