v2.ocaml.org
v2.ocaml.org copied to clipboard
Fixes the footer on cheat_sheets page
Issue Description
Because of less content footer was shifted from the bottom of the page. It Fixes the footer on the cheat_sheets page.
Fixes #1361
Changes Made
Replaced the markdown code with HTML in cheat_sheets.md
file and styled it with a div
by giving a min-height.
Before :
After :
- Please check if the PR fulfills these requirements
- [x] PR is descriptively titled and links the original issue above
- [x] Before/after screenshots (if this is a layout change)
- [x] Details of which platforms the change was tested on (if this is a browser-specific change)
- [x] Context for what motivated the change (if this is a change to some content)
I can't seem to see the fix on https://staging.ocaml.org/docs/cheat_sheets.html -- I still have whitespace below the footer.

@avsm I have checked it on different screen sizes and It looks okay.
Ah, I see a different problem now too. With Safari, it looks like the margin pushes the footer further down so that scrolling is required.

@avsm I added a min-height, that's why some scrolling is needed for smaller screens. Also, now when I'm opening this https://staging.ocaml.org/docs/cheat_sheets.html , It is not reflecting the fix as you said. Could you guide me how can I fix this now?
Am I missing something? I can't see in staging
's commit history where these changes were pushed https://github.com/ocaml/ocaml.org/commits/staging?before=0e2d74cd4b029a92582790cf370665d9196bdcce+35&branch=staging?
@patricoferris Initially I was able to see the changes but I can't see them now. @avsm Have you removed those changes from staging?
@patricoferris Please review this PR @avsm Please guide me on this Thanks
I did remove the changes from staging, since it's difficult to keep changes that aren't mergeable (since they affect other changes also pushed there). I've just pushed this back to staging.ocaml.org and the behaviour is still there; you should be able reproduce it locally now.
https://user-images.githubusercontent.com/53164/115359961-134f8e00-a1b7-11eb-951a-97dc6ef71c53.mov