beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mergebot-r...@apache.org
Subject [beam-site] 01/02: [MINOR] Updated hero and cards background to use background-size: cover for better mobile support
Date Sat, 14 Oct 2017 00:09:34 GMT
This is an automated email from the ASF dual-hosted git repository.

mergebot-role pushed a commit to branch mergebot
in repository https://gitbox.apache.org/repos/asf/beam-site.git

commit 9a5f8eb3be7178e35073bd15245f162e1cdc7d5c
Author: Roy Lenferink <lenferinkroy@gmail.com>
AuthorDate: Tue Oct 3 22:36:59 2017 +0200

    [MINOR] Updated hero and cards background to use background-size: cover for better mobile
support
---
 src/_sass/_cards.sass | 2 +-
 src/_sass/_hero.sass  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/_sass/_cards.sass b/src/_sass/_cards.sass
index 282bc2b..8670909 100644
--- a/src/_sass/_cards.sass
+++ b/src/_sass/_cards.sass
@@ -1,6 +1,6 @@
 .cards
   background-image: url(../images/cards_bg.svg)
-  background-size: 100%
+  background-size: cover
   background-repeat: no-repeat
   background-position: top
   text-align: center
diff --git a/src/_sass/_hero.sass b/src/_sass/_hero.sass
index fc73b58..6553fd9 100644
--- a/src/_sass/_hero.sass
+++ b/src/_sass/_hero.sass
@@ -1,7 +1,7 @@
 .hero-bg
   background-image: url(../images/hero_bg_flat.svg)
   background-repeat: no-repeat
-  background-size: contain
+  background-size: cover
   background-position: top center
   margin-top: -50px
   +md

-- 
To stop receiving notification emails like this one, please contact
"commits@beam.apache.org" <commits@beam.apache.org>.

Mime
View raw message