Skip to content
4 changes: 4 additions & 0 deletions templates/blog-cloudflare/src/styles/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,7 @@

:root {
}

.nav-admin {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

[suggestion] The Cloudflare variant now includes the .nav-admin spacing rule, but it's missing the explanatory comment that exists in the base blog template (templates/blog/src/styles/theme.css). Because these files are kept in sync by scripts/sync-cloudflare-templates.sh, they should be identical; running that script would add this comment and create unrelated future diff noise. Add the matching comment so both templates stay in lockstep.

Suggested change
.nav-admin {
/* Keep the signed-in Admin link separated from the primary navigation. */
.nav-admin {

margin-inline-start: var(--spacing-5);
}
5 changes: 5 additions & 0 deletions templates/blog/src/styles/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,8 @@

:root {
}

/* Keep the signed-in Admin link separated from the primary navigation. */
.nav-admin {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

[suggestion] This fixes templates/blog, but templates/blog-cloudflare/src/styles/theme.css still has no .nav-admin spacing rule at the PR head. Since the description says the change should flow to the Cloudflare template, either run ./scripts/sync-cloudflare-templates.sh now or apply the same .nav-admin { margin-inline-start: var(--spacing-5); } addition to templates/blog-cloudflare/src/styles/theme.css so the checked-in variant isn't left with the original spacing bug.

margin-inline-start: var(--spacing-5);
}
Loading