]> git.ipfire.org Git - thirdparty/bulma.git/commitdiff
Add .is-narrow modifier for .hero layout (#697)
authorCaíque de Castro Soares da Silva <caiquecastro@outlook.com>
Tue, 22 Aug 2017 13:36:56 +0000 (10:36 -0300)
committerJeremy Thomas <bbxdesign@gmail.com>
Tue, 22 Aug 2017 13:36:56 +0000 (14:36 +0100)
* Add .is-narrow modifier for .hero layout

* Update class name to follow framework naming

sass/layout/hero.sass

index 0c86bbf9a8bd9cf05fcd83e7faba7df3a2485050..7f6f4504e37344de9d73705bb862f4c9b363e891 100755 (executable)
           .nav-item
             border-top-color: rgba($color-invert, 0.2)
   // Sizes
+  &.is-small
+    .hero-body
+      padding-bottom: 1.5rem
+      padding-top: 1.5rem
   &.is-medium
     +tablet
       .hero-body