Conversation
🦋 Changeset detectedLatest commit: 42f2076 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
The latest updates on your projects. Learn more about Argos notifications ↗︎
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 87443dbac8
ℹ️ 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".
| <div className="relative flex flex-col border-tint-subtle border-b theme-bold:bg-header-background"> | ||
| <EmbeddableFrameHeader className="theme-bold:text-header-link"> | ||
| <HeaderMobileMenu className="-ml-2 page-no-toc:hidden theme-bold:text-header-link hover:theme-bold:bg-header-link/3 hover:theme-bold:text-header-link lg:hidden" /> | ||
| <HeaderMobileMenu className="-ml-2 layout-wide:hidden theme-bold:text-header-link hover:theme-bold:bg-header-link/3 hover:theme-bold:text-header-link lg:hidden" /> |
There was a problem hiding this comment.
Hide embed mobile menu only when TOC is absent
This class change inverts the menu visibility logic for embedded docs: layout-wide:hidden uses the layout-wide variant (defined in tailwind.config.ts as body:has(.layout-wide):has(.page-has-toc)), so the menu is now hidden when a TOC exists and not hidden on page-no-toc pages. On mobile embedded pages, wide layouts with a TOC lose the primary way to open navigation, while pages without a TOC still show a useless menu button.
Useful? React with 👍 / 👎.
layout-default,layout-wide,layout-full.CONTENT_STYLEclassname constant to standardise width logic for UI (handled inCONTAINER_STYLE) and content.