Certification page display issues - background and bottom padding
See original GitHub issueLooking forward for reporting a security issue:
Please report security issues by sending an email to security@freecodecamp.org
instead of raising a GitHub issue.
Describe the bug There is some display issues with the certification page, for example:
- The background is set to height 100% which means it cuts off at strange places depending on the browser size.
- There is no spacing at the end of the page so the last line of text just bumps into the bottom of the browser window
To Reproduce Steps to reproduce the behavior:
- View a certificate page (tested on Mac/Chrome)
- Scale the browser window so it has a scrollbar
- Scroll down and see that the white background cuts off (see screenshot 1 below)
- Scroll to the end of the page to see that the page doesn’t have any padding (see screenshot 2 below)
Expected behavior
Screenshots
Screenshot 1:
Screenshot 2:
Desktop (please complete the following information):
- OS: [e.g. iOS] Mac
- Browser: [e.g. chrome, safari] Chrome
- Version: [e.g. 22] Version 88.0.4324.150 (Official Build) (x86_64)
Additional context
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
Why does padding affect whether or not a background image ...
When adding padding (or explicitly giving it a height ), the container will have a positive height and will display your image.
Read more >How to Apply CSS Padding Around Your Website's Elements
In terms of CSS, you can set the padding around each side of an element — top, right, bottom, left — using lengths...
Read more >Page borders may be displayed or printed incorrectly in Word ...
The page borders in a Microsoft Office Word 2007 document may not be displayed or printed as expected. This problem may occur because...
Read more >padding-bottom - CSS: Cascading Style Sheets | MDN
An element's padding area is the space between its content and its border. The effect of the CSS padding-bottom property on the element...
Read more >CSS Padding - W3Schools
top padding is 25px; right padding is 50px; bottom padding is 75px; left padding is 100px. Example. Use the padding shorthand property with...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@ShaunSHamilton, yes some spacers at the bottom should do the trick. Other than the issue @rtpHarry mentioned regarding the sections running together, i cannot think of anything else.
P.S the donation element on the top of the certification should be reviewed after the fix.
there is also this, can be addressed here or better a new issue? https://forum.freecodecamp.org/t/the-responsive-webdesign-certificate-is-not-responsive/447635