From f4db3fbb32b3b87576c505fd63a210ea751181d2 Mon Sep 17 00:00:00 2001 From: Kairsten Fay Date: Wed, 29 Jan 2020 12:44:22 -0800 Subject: [PATCH] fixup! refactor end of narrative styled component --- .../narrative/MobileNarrativeDisplay.js | 34 ++++++++++++------- 1 file changed, 21 insertions(+), 13 deletions(-) diff --git a/src/components/narrative/MobileNarrativeDisplay.js b/src/components/narrative/MobileNarrativeDisplay.js index 69d860b1b..295e120ae 100644 --- a/src/components/narrative/MobileNarrativeDisplay.js +++ b/src/components/narrative/MobileNarrativeDisplay.js @@ -2,7 +2,13 @@ import React from "react"; import { connect } from "react-redux"; import queryString from "query-string"; import { changePage, EXPERIMENTAL_showMainDisplayMarkdown } from "../../actions/navigation"; -import { MobileBannerTop, MobileBannerBottom, MobileContentContainer } from "./styles"; +import { + linkStyles, + MobileBannerTop, + MobileBannerBottom, + MobileContentContainer, + EndOfNarrative +} from "./styles"; import Tree from "../tree"; import Map from "../map/map"; import MainDisplayMarkdown from "./MainDisplayMarkdown"; @@ -113,18 +119,20 @@ class MobileNarrativeDisplay extends React.Component { Previous -

End of Narrative

- this._goToPage(0)} - > - Jump to the beginning - -
- - Explore the data - + +

End of Narrative

+ this._goToPage(0)} + > + Jump to the beginning + +
+ + Explore the data + +
);