From 035c359ea7b55e7cac9a55251ca47652d65025bc Mon Sep 17 00:00:00 2001 From: Lachlan Kermode Date: Fri, 16 Aug 2019 18:05:16 +0100 Subject: [PATCH] correct scrolling --- src/components/TemplateCover.js | 6 +++--- src/scss/cover.scss | 18 +++++++++--------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/components/TemplateCover.js b/src/components/TemplateCover.js index 561ab7d..ab2ca04 100644 --- a/src/components/TemplateCover.js +++ b/src/components/TemplateCover.js @@ -117,9 +117,6 @@ class TemplateCover extends React.Component { const { videos } = this.props.cover return (
- - -
{ this.props.cover.bgVideo ? ( @@ -136,6 +133,9 @@ class TemplateCover extends React.Component {
) : null } + + +

{this.props.cover.title}

{this.props.cover.subtitle}

{ diff --git a/src/scss/cover.scss b/src/scss/cover.scss index 7bb9ead..8350df4 100644 --- a/src/scss/cover.scss +++ b/src/scss/cover.scss @@ -17,21 +17,18 @@ } } -.cover-logo { - margin-top: 10px; - width: 200px; - -} -@media only screen and (max-width: 992px) { .cover-logo-container { + width: 100%; display: flex; justify-content: center; } -.fullscreen-bg__video { - display: none; -} + +.cover-logo { + margin-top: 10px; + width: 200px; } + .fullscreen-bg { &.hidden { top: -100%; @@ -53,6 +50,9 @@ height: 100vh; -webkit-filter: contrast(70%) brightness(70%) grayscale(100%); filter: contrast(70%) brightness(70%) grayscale(100%); + @media only screen and (max-width: 992px) { + display: none; + } } .default-cover-container {