Skip to content

Commit c50cc06

Browse files
committed
Fix #2154
1 parent 892c7e7 commit c50cc06

File tree

4 files changed

+11
-6
lines changed

4 files changed

+11
-6
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
* #2157 Fix #1656 -> Allow border radius if only one `.control` in `.field`
2020
* #2091 Fix #2091 -> Remove CSS rule which causes `.tag.has-addons` to not work correctly
2121
* #2186 Fix #1130 -> Prevent `.dropdown` links underlining in `.message` component
22+
* Fix #2154 -> Move `.hero.is-fullheight-with-navbar` to `navbar.sass` file
2223

2324
### Deprecation
2425

docs/css/bulma-docs.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7159,6 +7159,10 @@ a.navbar-item:hover, a.navbar-item.is-active,
71597159
}
71607160
}
71617161

7162+
.hero.is-fullheight-with-navbar {
7163+
min-height: calc(100vh - 3.25rem);
7164+
}
7165+
71627166
.pagination {
71637167
font-size: 1rem;
71647168
margin: -0.25rem;
@@ -10265,10 +10269,6 @@ label.panel-block:hover {
1026510269
min-height: 100vh;
1026610270
}
1026710271

10268-
.hero.is-fullheight-with-navbar {
10269-
min-height: calc(100vh - 3.25rem);
10270-
}
10271-
1027210272
.hero-video {
1027310273
overflow: hidden;
1027410274
}

sass/components/navbar.sass

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -420,3 +420,9 @@ a.navbar-item,
420420
&.is-active
421421
.navbar-link
422422
background-color: $navbar-item-hover-background-color
423+
424+
// Combination
425+
426+
.hero
427+
&.is-fullheight-with-navbar
428+
min-height: calc(100vh - #{$navbar-height})

sass/layout/hero.sass

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,6 @@
109109
min-height: 50vh
110110
&.is-fullheight
111111
min-height: 100vh
112-
&.is-fullheight-with-navbar
113-
min-height: calc(100vh - #{$navbar-height})
114112

115113
// Components
116114

0 commit comments

Comments
 (0)