mirror of
https://github.com/bellingcat/ukraine-timemap.git
synced 2026-06-12 13:28:36 +03:00
update cover
This commit is contained in:
@@ -45,6 +45,7 @@ class TemplateCover extends React.Component {
|
||||
const { featureVideo } = this.props.cover
|
||||
const { featureLang } = this.state
|
||||
const { translations } = featureVideo
|
||||
console.log(featureVideo)
|
||||
const source = featureLang === 0
|
||||
? featureVideo
|
||||
: {
|
||||
@@ -143,10 +144,10 @@ class TemplateCover extends React.Component {
|
||||
</div>
|
||||
) : null
|
||||
}
|
||||
<h1 dangerouslySetInnerHTML={{ __html: marked(this.props.cover.title) }} />
|
||||
<h2 style={{ margin: 0 }} dangerouslySetInnerHTML={{ __html: marked(this.props.cover.title) }} />
|
||||
{
|
||||
this.props.cover.subtitle ? (
|
||||
<h3>{this.props.cover.subtitle}</h3>
|
||||
<h3 style={{ marginTop: 0 }}>{this.props.cover.subtitle}</h3>
|
||||
) : null
|
||||
}
|
||||
{
|
||||
|
||||
@@ -203,6 +203,7 @@
|
||||
max-width: 600px;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
margin-bottom: 10em;
|
||||
h1, h2, h3, h4, h5 { text-align: center; }
|
||||
h1 { margin-bottom: -15px; margin-top: 30px; }
|
||||
h5 { margin-top: -15px; }
|
||||
|
||||
Reference in New Issue
Block a user