Skip to content

Fix: Center horizontal rules (---) in backlog pages #1510

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Rishika12U
Copy link

This pull request fixes the issue where horizontal rules (<hr> tags rendered from --- in markdown) were not centered on backlog pages.

✅ What I did:

  • Created a new CSS file (custom.css) under static/css/
  • Added a rule to center all <hr> elements and set their width to 80%
  • Linked this CSS file from the head.html partial in the common-theme so it's applied globally

📌 This resolves Issue #1061.

The visual alignment now looks more consistent and readable across backlog pages. No other content or logic is affected.

Copy link

netlify bot commented Jul 20, 2025

👷 Deploy request for cyf-piscine pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 6ed270c

Copy link

netlify bot commented Jul 20, 2025

👷 Deploy request for cyf-curriculum pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 6ed270c

Copy link

netlify bot commented Jul 20, 2025

👷 Deploy request for cyf-tracks pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 6ed270c

Copy link

netlify bot commented Jul 20, 2025

👷 Deploy request for cyf-launch pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 6ed270c

Copy link

netlify bot commented Jul 20, 2025

👷 Deploy request for cyf-common pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 6ed270c

Copy link

netlify bot commented Jul 20, 2025

👷 Deploy request for cyf-itd pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 6ed270c

Copy link

netlify bot commented Jul 20, 2025

👷 Deploy request for cyf-sdc pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 6ed270c

@illicitonion
Copy link
Member

Thanks for this contribution! The CSS itself looks great, but ideally we wouldn't need to add a custom link tag to a standalone file just for this - please can you move the CSS into our SCSS tree (probably making a new file in common-theme/assets/styles/03-elements which will get automatically included?

(It's possible there's some existing hr styling in the SCSS you may need to remove or modify too, in case you're relying on ordering to override something :))

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

Successfully merging this pull request may close these issues.

2 participants