Skip to content

Conversation

@Prakash1185
Copy link

Problem

  • The site footer layout was breaking on smaller screens and footer links were misaligned.

What changed

  • Applied mobile-only layout adjustments to the footer
  • Centered footer content on small screens
  • All the changes made does not affect the desktop layout.

Before

Screenshot 2026-01-17 033844 Screenshot 2026-01-17 033922

After

Screenshot 2026-01-17 033830 Screenshot 2026-01-17 033926

@Prakash1185
Copy link
Author

Hi @martin-g , this PR improves footer responsiveness on small screens. Please take a look.

margin-right: auto;
display: block;
}
}
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
}
}

font-family: "PT Mono", monospace;
}

@media (max-width: 996px) {
Copy link
Member

Choose a reason for hiding this comment

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

display: flex;
flex-direction: column;
align-items: center;
text-align: center;
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
text-align: center;

This one seems redundant. The one at line 49 will override it anyway.

text-align: center;
}

footer [class^="col-"] {
Copy link
Member

Choose a reason for hiding this comment

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

This will match only if "col-..." is the first item in class="...", e.g. class="col-3", but it won't match for class="another col-3"

}

footer [class^="col-"] {
width: 100% !important;
Copy link
Member

Choose a reason for hiding this comment

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

!important is usually not recommended. Did you try without it ? E.g. with more concrete selector.

margin: 0.4rem;
}

footer img {
Copy link
Member

Choose a reason for hiding this comment

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

Is this needed ?
<img> is an inline element, so the text-align: center from line 49 should be enough.

@Prakash1185
Copy link
Author

Thanks for the detailed review! I’ve noted the points and will address them shortly with an updated commit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants