Rearrange custom.css line

This commit is contained in:
Eric Nakagawa 2017-09-22 11:42:19 -07:00
parent 2ad9b00929
commit 0dce734a1d
2 changed files with 9 additions and 5 deletions

View file

@ -1 +1,5 @@
/* your custom css */ /* your custom css */
* {
border: 1px solid red;
}

View file

@ -39,15 +39,15 @@ class Head extends React.Component {
rel="stylesheet" rel="stylesheet"
href="https://cdn.jsdelivr.net/docsearch.js/1/docsearch.min.css" href="https://cdn.jsdelivr.net/docsearch.js/1/docsearch.min.css"
/>} />}
<link
rel="stylesheet"
href={this.props.config.baseUrl + "css/main.css"}
/>
{this.props.config.customCssFileName && {this.props.config.customCssFileName &&
<link <link
rel="stylesheet" rel="stylesheet"
href={this.props.config.baseUrl + "css/" + this.props.config.customCssFileName} href={this.props.config.baseUrl + "css/" + this.props.config.customCssFileName}
/>} />}
<link
rel="stylesheet"
href={this.props.config.baseUrl + "css/main.css"}
/>
<script async defer src="https://buttons.github.io/buttons.js" /> <script async defer src="https://buttons.github.io/buttons.js" />
</head> </head>
); );