File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
packages/cubejs-playground/src Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ import DashboardStoreSnippet from "./source/DashboardStoreSnippet";
12
12
import SourceSnippet from "./source/SourceSnippet" ;
13
13
14
14
const indexCss = `
15
+ @import '~antd/dist/antd.css';
15
16
body {
16
17
background-color: #f0f2f5 !important;
17
18
}
@@ -64,7 +65,7 @@ class DashboardSource {
64
65
65
66
async persist ( ) {
66
67
const updateIndexCss = this . appLayoutAdded ? [
67
- { ...this . indexCssFile , content : this . indexCssFile . content + indexCss }
68
+ { ...this . indexCssFile , content : indexCss }
68
69
] : [ ] ;
69
70
const toPersist = this . filesToPersist . concat (
70
71
Object . keys ( this . fileToTargetSource ) . map ( fileName => ( {
Original file line number Diff line number Diff line change 1
1
import React from "react" ;
2
2
import { ApolloProvider } from '@apollo/react-hooks' ;
3
- import "antd/dist/antd.css" ;
4
- import "./index.css" ;
5
3
import { Layout } from "antd" ;
6
4
import client from "./graphql/client" ;
7
5
import Header from "./components/Header" ;
You can’t perform that action at this time.
0 commit comments