From de51e33f96d71dc11d1ee7b23d6bb731fdadf34b Mon Sep 17 00:00:00 2001 From: Laury GvR Date: Thu, 5 Apr 2018 09:51:24 -0400 Subject: [PATCH] Better sizing of footer blocks relative to their images --- css/app.css | 8 ++++---- scss/plugins/_blocks.scss | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/css/app.css b/css/app.css index f13b885..442235a 100644 --- a/css/app.css +++ b/css/app.css @@ -7665,7 +7665,7 @@ body .stButton .sharethis { border-color: #00573c; } .blocks-container .blocks .block .block-image-wrapper { display: block; - max-height: 170px; + max-height: 220px; overflow: hidden; } .blocks-container .blocks .block .block-image-wrapper img { transition: 0.75s all; } @@ -7693,7 +7693,7 @@ body .stButton .sharethis { bottom: 0; display: none; height: auto; - max-height: 200px; + max-height: 220px; position: absolute; top: 0; width: 100%; } @@ -7701,9 +7701,9 @@ body .stButton .sharethis { position: absolute; width: 100%; height: auto; - max-height: 200px; + max-height: 220px; margin: 0 auto; - top: 50px; + top: 75px; left: 50%; transform: translateX(-50%); } .blocks-container .blocks .block-overlay .block-overlay-center .block-title-center { diff --git a/scss/plugins/_blocks.scss b/scss/plugins/_blocks.scss index a784470..81c012b 100644 --- a/scss/plugins/_blocks.scss +++ b/scss/plugins/_blocks.scss @@ -59,7 +59,7 @@ } .block-image-wrapper { display: block; - max-height: 170px; + max-height: 220px; overflow: hidden; img { @@ -100,7 +100,7 @@ bottom: 0; display: none; height: auto; - max-height: 200px; + max-height: 220px; position: absolute; top: 0; width: 100%; @@ -109,9 +109,9 @@ position: absolute; width: 100%; height: auto; - max-height: 200px; + max-height: 220px; margin: 0 auto; - top: 50px; + top: 75px; left: 50%; transform: translateX(-50%); .block-title-center{ -- 2.17.1