]> git.ipfire.org Git - thirdparty/bulma.git/commitdiff
Fix #2154
authorJeremy Thomas <bbxdesign@gmail.com>
Wed, 31 Oct 2018 18:19:43 +0000 (18:19 +0000)
committerJeremy Thomas <bbxdesign@gmail.com>
Wed, 31 Oct 2018 18:19:43 +0000 (18:19 +0000)
CHANGELOG.md
docs/css/bulma-docs.css
sass/components/navbar.sass
sass/layout/hero.sass

index 8c28554d69137f54e95f1455866a88fb6b86e048..e6b28a7a6b45d264dbd44905cbb5cf683dd455dc 100644 (file)
@@ -19,6 +19,7 @@
 * #2157 Fix #1656 -> Allow border radius if only one `.control` in `.field`
 * #2091 Fix #2091 -> Remove CSS rule which causes `.tag.has-addons` to not work correctly
 * #2186 Fix #1130 -> Prevent `.dropdown` links underlining in `.message` component
+* Fix #2154 -> Move `.hero.is-fullheight-with-navbar` to `navbar.sass` file
 
 ### Deprecation
 
index b33608ee25851dd7b9be5d4ab1aec25d019509f7..8cf4540c2c6cfae64450fba503d3eb590b64dee6 100644 (file)
@@ -7159,6 +7159,10 @@ a.navbar-item:hover, a.navbar-item.is-active,
   }
 }
 
+.hero.is-fullheight-with-navbar {
+  min-height: calc(100vh - 3.25rem);
+}
+
 .pagination {
   font-size: 1rem;
   margin: -0.25rem;
@@ -10265,10 +10269,6 @@ label.panel-block:hover {
   min-height: 100vh;
 }
 
-.hero.is-fullheight-with-navbar {
-  min-height: calc(100vh - 3.25rem);
-}
-
 .hero-video {
   overflow: hidden;
 }
index f11153d3f6c9f4c51cdde99db451555d7db1c489..dc90dd9d3cee26f886cf2a3c339cddcba81d11a5 100644 (file)
@@ -420,3 +420,9 @@ a.navbar-item,
     &.is-active
       .navbar-link
         background-color: $navbar-item-hover-background-color
+
+// Combination
+
+.hero
+  &.is-fullheight-with-navbar
+    min-height: calc(100vh - #{$navbar-height})
index db56b9f89c66c0c02dc68041df8da4e62b9e9590..d988040b3ae15882791ea023e88ccd487f787dff 100644 (file)
     min-height: 50vh
   &.is-fullheight
     min-height: 100vh
-  &.is-fullheight-with-navbar
-    min-height: calc(100vh - #{$navbar-height})
 
 // Components