Repository navigation
Fix service-page spacing via CSS shim (custom.css) + preserve showEdit=false - #7
Draft
diecasting wants to merge 1 commit into
Draft
diecasting wants to merge 1 commit into
diecasting wants to merge 1 commit into
Conversation
- assets/css/custom.css: add 36 Tailwind-equivalent utility classes (py-12/sm:py-16, grid-cols-1/lg:grid-cols-3, gaps, dark variants, etc.) to restore vertical rhythm and card grids on the structured service partials. Root cause: the service section partials were added after the committed Tailwind v4 compiled main.css was generated (no content scan, no CI Tailwind rebuild), so these utilities were absent from the bundle. - config/_default/params.toml: preserve the previously approved showEdit = false (removes visitor-visible edit anchors on service pages). Scope is intentionally minimal: CSS shim only. No partial/template/content/ SEO/analytics/config changes, and main.css is not recompiled here. Known limitations (see PR): 28/35 service pages built & verified locally; die-casting-tooling pages are not built in any language (unverified); a pre-existing mobile overflow on de/cnc-machining (theme text-4xl) is NOT addressed by this patch; production is not yet deployed.
This was referenced Oct 14, 2026
This was referenced Oct 14, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Isolated, minimal fix for cramped service-page section titles and broken card grids across the 7 languages (EN/DE/ES/FR/IT/JA/KO).
Files changed (exactly 2):
assets/css/custom.css— add a self-contained Tailwind-equivalent utility shim (36 classes) covering the utilities the structured service partials use but that are missing from the committed Tailwind v4 compiledmain.css(e.g.py-12/sm:py-16,grid-cols-1/lg:grid-cols-3, gaps, dark variants). Restores vertical rhythm and card grids.config/_default/params.toml— preserve the previously approvedshowEdit = false(removes visitor-visible edit anchors on service pages).Root cause: the service section partials were added after
assets/css/compiled/main.csswas compiled.tailwind.config.jshas nocontentblock and CI only runshugo --minify(no Tailwind rebuild), so 36 utilities were absent from the bundle. This patch is an additive CSS shim only — no partial/template/content/SEO/analytics/config changes, andmain.cssis not recompiled here.Verification
git diff --checkclean; PR contains exactly the 2 files above.main.css(custom.cssis bundled last).Known limitations / out of scope
die-casting-toolingslug is not built in any of the 7 languages (7 pages) and remains unverified — a build/content gap, not introduced by this patch.mobile de/cnc-machininghas a pre-existing horizontal overflow caused by the theme's basetext-4xl(36px) rendering a long unbreakable German title; this patch does not modifytext-4xland does not fix it. Recommended as a separate follow-up (e.g.overflow-wrap/hyphens).main.cssin CI, then remove this shim) is not part of this PR.Not authorized in this PR
Merging, deploying, modifying GitHub Actions / Cloudflare / SEO / GA4 / Formspree, or any other files.