]> git.ipfire.org Git - thirdparty/bulma.git/commitdiff
Add is-halfheight to hero (#783)
authorFelipe Silva <felipeas@users.noreply.github.com>
Sun, 11 Jun 2017 19:42:01 +0000 (16:42 -0300)
committerJeremy Thomas <bbxdesign@gmail.com>
Sun, 11 Jun 2017 19:42:01 +0000 (20:42 +0100)
* Add is-halfheight to hero

* Remove duplication

sass/layout/hero.sass

index 2f95c892e4c66a5d91a846f18ca10a904003b6d5..079b87e15606af2a550911a2ccaa614ddef3a262 100644 (file)
       .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