From: Felipe Silva Date: Sun, 11 Jun 2017 19:42:01 +0000 (-0300) Subject: Add is-halfheight to hero (#783) X-Git-Tag: 0.4.3~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eec09cc0630b0b684ee1297fbce83a6a4eddc036;p=thirdparty%2Fbulma.git Add is-halfheight to hero (#783) * Add is-halfheight to hero * Remove duplication --- diff --git a/sass/layout/hero.sass b/sass/layout/hero.sass index 2f95c892e..079b87e15 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