diff --git a/src/client.js b/src/client.js index e35a71b7b..a6234d95d 100644 --- a/src/client.js +++ b/src/client.js @@ -12,7 +12,7 @@ import React from 'react'; import ReactDOM from 'react-dom'; import deepForceUpdate from 'react-deep-force-update'; import queryString from 'query-string'; -import { createPath } from 'history/PathUtils'; +import { createPath } from 'history'; import App from './components/App'; import createFetch from './createFetch'; import history from './history'; diff --git a/src/history.js b/src/history.js index 2f2faacc6..6662f2afe 100644 --- a/src/history.js +++ b/src/history.js @@ -7,7 +7,7 @@ * LICENSE.txt file in the root directory of this source tree. */ -import createBrowserHistory from 'history/createBrowserHistory'; +import { createBrowserHistory } from 'history'; // Navigation manager, e.g. history.push('/home') // https://github.com/mjackson/history diff --git a/src/routes/home/Home.css b/src/routes/home/Home.css index 953012774..d4e9a2500 100644 --- a/src/routes/home/Home.css +++ b/src/routes/home/Home.css @@ -28,22 +28,20 @@ font-size: 1.5rem; } -.newsDesc { - h1, - h2, - h3, - h4, - h5, - h6 { - font-size: 1.125rem; - } - - pre { - white-space: pre-wrap; - font-size: 0.875rem; - } - - img { - max-width: 100%; - } +.newsDesc h1, +.newsDesc h2, +.newsDesc h3, +.newsDesc h4, +.newsDesc h5, +.newsDesc h6 { + font-size: 1.125rem; +} + +.newsDesc pre { + white-space: pre-wrap; + font-size: 0.875rem; +} + +.newsDesc img { + max-width: 100%; }