Skip to content

Fix footer size on terms pages#426

Open
LelouchFR wants to merge 5 commits into
PretendoNetwork:devfrom
LelouchFR:fix-footer
Open

Fix footer size on terms pages#426
LelouchFR wants to merge 5 commits into
PretendoNetwork:devfrom
LelouchFR:fix-footer

Conversation

@LelouchFR

@LelouchFR LelouchFR commented Mar 16, 2026

Copy link
Copy Markdown
Contributor

Resolves #381

Changes:

add a class to the body to see on which type of page we are on

Adding this feature helps to modify pages by knowing on which type of page we are on.

With this feature, I have fixed the problem with the footer in the terms pages.

@CLAassistant

CLAassistant commented Mar 16, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@binaryoverload binaryoverload left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems to be an issue specifically on pages which use the blogpost styles (terms included) - the wrapper is set to 100% here

I think this PR should make use of the blogpost CSS file and set the footer width - I don't think the templating for the page type is needed

(also please merge our dev into your branch, I've updated it so master commits won't show 😄)

@LelouchFR

Copy link
Copy Markdown
Contributor Author

I removed the classes I created, changed the blogpost.css file and it works fine now

@limesdotpink

Copy link
Copy Markdown
Member

Hi! It still looks like you're making unnecessary changes (see your two commits in isolation here):

https://github.com/PretendoNetwork/website/pull/426/changes/ccc4ef0233b7211826745b00f94c4dad4971f84b..138ee1e18e38123a2c37b0874a44288df79a8783

@LelouchFR

Copy link
Copy Markdown
Contributor Author

@limesdotpink oh yeah my bad I'm going to fix this

@binaryoverload binaryoverload left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for cleaning up the PR! Just a thought on the change

Comment thread public/assets/css/blogpost.css Outdated
@media screen and (max-width: 600px) {
.wrapper {
width: 100%;
width: 90%;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The reason this was 100% was so the text was as wide as possible on mobile. I think the best solution right now is to add an !important to the footer width on line 233 since it's being overridden by 100% on the footer partial

@jonbarrow jonbarrow left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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.

5 participants