From eec09cc0630b0b684ee1297fbce83a6a4eddc036 Mon Sep 17 00:00:00 2001 From: Felipe Silva Date: Sun, 11 Jun 2017 16:42:01 -0300 Subject: [PATCH] Add is-halfheight to hero (#783) * Add is-halfheight to hero * Remove duplication --- sass/layout/hero.sass | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sass/layout/hero.sass b/sass/layout/hero.sass index 2f95c892..079b87e1 100644 --- a/sass/layout/hero.sass +++ b/sass/layout/hero.sass @@ -142,11 +142,15 @@ .hero-body padding-bottom: 18rem padding-top: 18rem + &.is-halfheight, &.is-fullheight - min-height: 100vh .hero-body align-items: center display: flex & > .container flex-grow: 1 flex-shrink: 1 + &.is-halfheight + min-height: 50vh + &.is-fullheight + min-height: 100vh