Repository navigation
Restore the Apple-style header and fix CSS minification - #19
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c102010955
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| body > nav:first-of-type > ul, | ||
| body > header:first-child > nav > ul { | ||
| overflow-x: auto; |
There was a problem hiding this comment.
Make direct-link navbars scroll on mobile
At widths up to 40rem, horizontal scrolling is enabled only when the navigation contains a top-level ul. The documented nav > a form is also forced onto one non-wrapping row, and each anchor has flex: 0 0 auto, so a navigation with enough direct links extends beyond the fixed viewport with no scroll container; because the navbar remains fixed while the document pans, the off-screen links cannot be reached. Apply the mobile overflow behavior to the navigation container or otherwise cover the direct-anchor form as well.
Useful? React with 👍 / 👎.
| body:has(> nav:first-of-type), | ||
| body:has(> header:first-child > nav) { | ||
| padding-top: calc(3.25rem + var(--space-6)); |
There was a problem hiding this comment.
Reset the fixed-header offset when printing
For any page with a recognized navbar, this new body:has(...) rule has greater specificity than the later @media print { body { padding: 0; } } declaration. The print stylesheet hides the navbar, but it cannot clear this padding-top, so every printed page starts with an unnecessary calc(3.25rem + var(--space-6)) blank offset. Add a print override with sufficient specificity or structure the offset so the existing print reset can win.
Useful? React with 👍 / 👎.
| tbody tr:nth-child(even), | ||
| tbody tr:nth-child(even) button, | ||
| tbody tr:nth-child(even) button:hover { | ||
| background-color: var(--surface-hover); | ||
| background: transparent; |
There was a problem hiding this comment.
Preserve button styling in even table rows
When a table body contains buttons, these selectors make buttons in every even row transparent and keep them transparent on hover. Their specificity exceeds the later general button and button:hover rules, so odd-row buttons retain the normal raised surface and hover fill while even-row buttons do not. Removing zebra-striping should reset the row background only, without overriding descendant button states.
Useful? React with 👍 / 👎.
Fixes
Build correctness
dist/bahunya.cssanddist/bahunya.min.csswith the corrected minifierContent styling from the supplied ChatGPT references
articlecontent instead of rendering every article as a cardpre,fieldset,details,dialog)This repairs the regression visible on the live site, where malformed minified media blocks caused much of the stylesheet (including the navbar rules) to be ignored.