-
Notifications
You must be signed in to change notification settings - Fork 1.1k
fix: add spacing before Admin link in blog template #1968
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
Changes from all commits
2335b63
23ad935
906e198
7b28b27
9d92273
7571a00
1667ade
f13adb6
731b7ef
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -26,3 +26,7 @@ | |
|
|
||
| :root { | ||
| } | ||
|
|
||
| .nav-admin { | ||
| margin-inline-start: var(--spacing-5); | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -26,3 +26,8 @@ | |
|
|
||
| :root { | ||
| } | ||
|
|
||
| /* Keep the signed-in Admin link separated from the primary navigation. */ | ||
| .nav-admin { | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [suggestion] This fixes |
||
| margin-inline-start: var(--spacing-5); | ||
| } | ||
There was a problem hiding this comment.
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-adminspacing 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 byscripts/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.