-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Actual fullheight for heros #1949
Comments
Hi @dergoegge, Here is my hack for this issue: .hero.is-fullheight.has-fixed-navbar {
min-height: calc(100vh - #{$navbar-height});
} |
Not sure if this is actually a bug or intended behaviour... I will close the issue after some time if nobody else has something to say. |
This could be added as a modifier class. |
@jgthms that could be nice :) |
wouldn't it be easier to use the body/html class, instead of adding another helper to the hero? .has-navbar-fixed-top .hero.is-fullheight {
min-height: calc(100vh - #{$navbar-height});
} |
@emkajeej I think a modifier is better here. There's probably particularly cases where peoples would like to have the choice. |
I'm inclined to disagree. The docs state that a The same logic is also already being applied in navbar.sass:238. In the edge case that the user actually wants the |
Can we have this (#1949 (comment)) code merged, @jgthms? |
+1 on this. fairly minimal page w/o any |
That's not true. The fullheight hero is basically never higher than the viewport. The height is set with Example: https://codepen.io/jgthms/pen/ReRPpe The hero is fullheight here. You can't see the footer because the
It would be disingenuous to make the The solution is with an additional modifier for the hero, something like the one stated here: #1949 (comment) |
Thanks @dergoegge that's pretty good actually! Will have a proper look later. |
In the above solution the hero height is also being modified to be less than the viewport. |
Encountered a weird behavior using |
@claide I'm having this problem too. Did you find a solution? |
Hmm I forgot about this, but try to add class
|
Thanks! It worked. |
This is about Bulma.
It's a bug concerning the
is-fullheight
class.It's not a browser bug.
Overview of the problem
This is about the Bulma CSS framework
I'm using Bulma version [0.7.1]
My browser is: Chrome, Opera
I am sure this issue is not a duplicate
Description
A fullheight hero is not fullheight if the navbar is fixed to the top.
Steps to Reproduce
has-navbar-fixed-top
to the class list of the html attribute.Expected behavior
I expected to see the hero-footer on screen.
Actual behavior
The hero-footer will only be visible if scrolled to.
The text was updated successfully, but these errors were encountered: