Skip to content

Conversation

@BassOfBass
Copy link
Contributor

It's not very obvious, but the previews are set up in a hacky way and thus are only "sticky" within their, quite small, window. It's however pretty glaring in downloadable examples. Not sure how to fix the previews and the article itself yet, since setting up sticky footers requires more than min-height: 100% on the footer's parent. Basically for relative values to work the parent has to have known height values. In context of global sticky footers it means all footer's parent's parents(<html> included) have to have height: 100%.

@BassOfBass BassOfBass changed the title Fix for sticky footer examples in articles not actually being sticky Fix for sticky footer examples in article not actually being sticky Dec 15, 2020
@chrisdavidmills chrisdavidmills merged commit 2d88195 into mdn:master Dec 17, 2020
@chrisdavidmills
Copy link
Contributor

Thanks @BassOfBass , this is a good thing to spot.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants