diff --git a/src/components/TemplateCover.js b/src/components/TemplateCover.js
index 561ab7d..2cb21bd 100644
--- a/src/components/TemplateCover.js
+++ b/src/components/TemplateCover.js
@@ -117,9 +117,11 @@ class TemplateCover extends React.Component {
const { videos } = this.props.cover
return (
-
-
-
+
{
this.props.cover.bgVideo ? (
@@ -137,7 +139,11 @@ class TemplateCover extends React.Component {
) : null
}
{this.props.cover.title}
- {this.props.cover.subtitle}
+ {
+ this.props.cover.subtitle ? (
+ {this.props.cover.subtitle}
+ ) : null
+ }
{
this.props.cover.subsubtitle ? (
{this.props.cover.subsubtitle}
diff --git a/src/scss/cover.scss b/src/scss/cover.scss
index 0b007b7..eb0365f 100644
--- a/src/scss/cover.scss
+++ b/src/scss/cover.scss
@@ -18,12 +18,14 @@
}
}
-.cover-logo-container {
- position: absolute;
- bottom: 20px;
- left: 20px;
+.cover-header {
+ display: flex;
+ width: 100vw;
+}
+
+.cover-logo-container {
+ padding: 20px 0 0 20px;
display: flex;
- justify-content: center;
}
.cover-logo {
@@ -117,16 +119,11 @@
min-width: 100%;
max-width: 100%;
min-height: 100px;
- &.thin {
- // min-width: 250px;
- // width: 250px;
- // max-width: 400px;
- }
margin: auto;
display: flex;
flex-direction: column;
margin-bottom: 20px;
- margin-top: 20px;
+ margin-top: 60px;
.row {
display: flex;
flex: 1;
diff --git a/src/store/initial.js b/src/store/initial.js
index 8976525..0ffbe36 100644
--- a/src/store/initial.js
+++ b/src/store/initial.js
@@ -91,7 +91,6 @@ const initial = {
},
cover: {
title: 'project title',
- subtitle: 'project subtitle',
description: 'A description of the project goes here.\n\nThis description may contain markdown.\n\n# This is a large title, for example.\n\n## Whereas this is a slightly smaller title.\n\nCheck out docs/custom-covers.md in the [Timemap GitHub repo](https://github.com/forensic-architecture/timemap) for more information around how to specify custom covers.'
},
loading: false