From 1ef1cca861602f37adccc07a318b832d837a439b Mon Sep 17 00:00:00 2001 From: Alexey Kutalo Date: Tue, 16 Apr 2019 04:02:29 -0700 Subject: [PATCH 1/2] Fix styles error in Home.css --- src/routes/home/Home.css | 34 ++++++++++++++++------------------ 1 file changed, 16 insertions(+), 18 deletions(-) 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%; } From 8d22ecb214d29a0d5689f8fb41f8fbe0b309e944 Mon Sep 17 00:00:00 2001 From: Kutalo Alexey Date: Tue, 16 Apr 2019 04:31:51 -0700 Subject: [PATCH 2/2] Fix deprecation warnings --- src/client.js | 2 +- src/history.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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