Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS iFrame and footer conflict Reply To: iFrame and footer conflict

#247192
Shikkediel
Participant

Without knowing the exact remaining height outside the iframe, one will have to estimate. Or use JS. On desktop this looks about right:

.hs {
  height: calc(100vh - 255px);
}

A bit too small on mobile though so adding a media query to change the amount of pixels subtracted at some breaking point might be a good idea.