question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Certification page display issues - background and bottom padding

See original GitHub issue

Looking 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:

  1. View a certificate page (tested on Mac/Chrome)
  2. Scale the browser window so it has a scrollbar
  3. Scroll down and see that the white background cuts off (see screenshot 1 below)
  4. 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: image

Screenshot 2: image

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:closed
  • Created 3 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
ahmadabdolsahebcommented, Feb 16, 2021

@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.

0reactions
ieahleencommented, Feb 22, 2021

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found