Moderate comments on All Stories
+
+
+ Most Recent Stories
+
{
loading
?
@@ -35,7 +45,9 @@ const StorySearch = (props) => {
title={story.title}
createdAt={new Date(story.created_at).toISOString()}
open={storyOpen}
- author={story.author} />;
+ author={story.author}
+ goToStory={goToStory}
+ />;
})
}
@@ -49,4 +61,4 @@ StorySearch.propTypes = {
storySearchChange: PropTypes.func.isRequired
};
-export default StorySearch;
+export default withRouter(StorySearch);
diff --git a/client/coral-ui/components/Button.css b/client/coral-ui/components/Button.css
index 5100d44a4..671c55bad 100644
--- a/client/coral-ui/components/Button.css
+++ b/client/coral-ui/components/Button.css
@@ -84,6 +84,16 @@
background: #4f5c67;
}
+.type--blue {
+ color: white;
+ background: #083b97;
+}
+
+.type--blue:hover {
+ color: white;
+ background: #083b97;
+}
+
.type--darkGrey {
color: white;
background: #616161;
diff --git a/views/admin.ejs b/views/admin.ejs
index 946284622..4ef4112da 100644
--- a/views/admin.ejs
+++ b/views/admin.ejs
@@ -29,6 +29,11 @@
background-color: #FAFAFA;
font-family: 'Roboto', sans-serif;
}
+
+ #root > div {
+ height: 100%;
+ }
+
/* putting this here until I can get webpack to behave */
.react-tagsinput {
background-color: #fff;