Skip to content

fix: add spacing before Admin link in blog template#1

Open
Cozmocat wants to merge 9 commits into
mainfrom
fix/blog-admin-nav-spacing
Open

fix: add spacing before Admin link in blog template#1
Cozmocat wants to merge 9 commits into
mainfrom
fix/blog-admin-nav-spacing

Conversation

@Cozmocat

@Cozmocat Cozmocat commented Jul 12, 2026

Copy link
Copy Markdown
Owner

The Admin link currently renders directly after the final navigation item as PostsAdmin.

This adds spacing before the Admin link in the blog template while preserving the existing mobile layout.

The change is made in theme.css so it can flow to the Cloudflare template through the normal template sync.

What does this PR do?

Fixes the blog template navigation spacing so the signed-in Admin link no longer runs into the final menu item as PostsAdmin.

The change adds spacing through templates/blog/src/styles/theme.css, allowing the Cloudflare template to receive it through the normal template sync.

Type of change

  • Bug fix

Checklist

  • pnpm typecheck passes
  • pnpm lint passes
  • pnpm test passes (or targeted tests for my change)
  • pnpm format has been run
  • I have added/updated tests for my changes (if applicable)
  • No translation changes are required
  • No changeset is required for CSS-only template fix

AI-generated code disclosure

  • This PR includes AI-generated code — Codex / GPT-5.6 Luna
  • I have read CONTRIBUTING.md

Screenshots / test output

CSS-only change. No automated tests were run.

Cozmocat added 9 commits July 12, 2026 15:02
The Admin link currently renders directly after the final navigation item as `PostsAdmin`.

This adds spacing before the Admin link in the blog template while preserving the existing mobile layout.

The change is made in `theme.css` so it can flow to the Cloudflare template through the normal template sync.
Use the repository’s tab-based indentation for the Admin navigation spacing rule.
Apply the same Admin navigation spacing rule to the Cloudflare blog template as requested by the PR review.
Apply the same Admin navigation spacing rule to the Cloudflare blog template as requested by the PR review.
Format the Admin navigation spacing rule with the repository-standard tab indentation in both blog theme.css files. No behavior change.
Match the Cloudflare blog template’s Admin navigation rule to the repository’s tab indentation convention. No behavior change.
Match the Cloudflare blog template’s Admin navigation rule to the repository’s tab indentation convention. No behavior change.
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.

1 participant