fix(docs): correct landing-page hero spacing for Hextra v0.12 - #140
Merged
Merged
Conversation
Hextra v0.12 (Tailwind v4) uses the hx: utility prefix; the old hx- classes were no-ops, collapsing the hero and button spacing. Also add the hx:mt-6 spacer before the feature grid to match Hextra's home layout. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: Brian Morton <brian@mmmhm.com>
bmorton
force-pushed
the
docs/hextra-theme-transition
branch
from
July 24, 2026 15:52
426a420 to
8bb03b8
Compare
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.
Problem
The front page (https://temporal-operator.bmorton.dev/) hero and button spacing collapsed. The landing page's spacing wrappers used the old
hx-utility-class prefix (from Hextra ≤0.9), but Hextra v0.12 (Tailwind v4) uses thehx:prefix. Thehx-mt-6/hx-mb-12/hx-mb-6classes were therefore no-ops.Fix
<div>s to thehx:prefix (hx:mt-6 hx:mb-6,hx:mb-12,hx:mb-6).<div class="hx:mt-6"></div>spacer before the feature grid, matching Hextra's own home-layout markup.Verification
hugo --minifybuilds cleanly; the renderedpublic/index.htmlnow emits the correcthx:spacing classes and no deadhx-classes remain.Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com