Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed gap after footer #1750

Merged
merged 1 commit into from Oct 22, 2021
Merged

Conversation

RunDevelopment
Copy link
Contributor

This fixes #1749. The screenshot in the expected section actually uses this fix.

The problem was that the margin of the last <p> went outside the footer.

image

image

This PR adds an invisible pseudo-element to fix that.

image

@Gerrit0
Copy link
Collaborator

Gerrit0 commented Oct 22, 2021

The invisible pseudo element really feels like a hack to me... CSS is awful.

@Gerrit0 Gerrit0 merged commit 39850f4 into TypeStrong:master Oct 22, 2021
@RunDevelopment RunDevelopment deleted the footer-gap branch October 22, 2021 10:54
@RunDevelopment
Copy link
Contributor Author

The invisible pseudo element really feels like a hack to me...

The alternate was to use overflow-y: hidden on the footer element. This also works but I worried that it might lead to some content being hidden.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Gap after footer if hideGenerator: true
2 participants