Skip to content

chore(docs): Next tranche of UI/UX refinements#2170

Open
Y3drk wants to merge 9 commits into
mainfrom
y3drk/chore/docs-uiux-refinements-pt3
Open

chore(docs): Next tranche of UI/UX refinements#2170
Y3drk wants to merge 9 commits into
mainfrom
y3drk/chore/docs-uiux-refinements-pt3

Conversation

@Y3drk
Copy link
Copy Markdown
Member

@Y3drk Y3drk commented May 21, 2026

Lite PR → Next tranche of UI/UX refinements

Summary

  • Made improvements to the UX/UI elements in ensnode.io docs. All requested changes are listed on Slack, and here is a quicklist:
    • Unify the hover states and the default font color of the expandable items in the sidebar
    • Strengthen the hover state UI for the ENSNodeServiceCard (at docs/services`)
    • Optimize back to (enssdk/enskit) overview links
    • Make the docked sidebar more discoverable
    • Investigate if we can customize topic icons in the sidebar (results in the reviewer notes)

Why


Testing

  • Ran typecheck, lint, and test commands locally to ensure that the migration didn't break anything, and later confirmed that in our CI workflow
  • Verified that the UI didn't break after introducing changes using a local and Vercel (build) previews

Notes for Reviewer (Optional)

  • Pure UI/UX changes, so I don't think that the changeset log is required
  • The blue color accent for the expanded sidebar items is experimental (see the screenshot below).
    • I wanted to highlight expanded lists in a similar way to what we do for the normal selected items (blue background)
    • At the same time, I appreciate that such accenting might introduce too much noise
    • Let me know if you'd like me to remove that accenting altogether or maybe change the color to something less intense (something black-ish, maybe)
image

Customization of sidebar topics icons

  • Went through our code, Starlight's docs, and source code
  • Sadly, I couldn't find any legitimate way to override the default icons mechanism via an Astro component/JS code
  • But I found our old workaround for that issue and confirmed that it still works (see the screenshot below)
  • While not perfect, it still gives us some more flexibility if required.
  • At the same time, it's worth noting that the list of icons supported by Starlight out of the box has increased greatly in recent months and is now quite extensive. You can see a full list here
image

Pre-Review Checklist (Blocking)

  • This PR does not introduce significant changes and is low-risk to review quickly.
  • Relevant changesets are included (or are not required)

@Y3drk Y3drk self-assigned this May 21, 2026
Copilot AI review requested due to automatic review settings May 21, 2026 13:25
@Y3drk Y3drk added the docs Docs related label May 21, 2026
@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented May 21, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
admin.ensnode.io Ready Ready Preview, Comment May 22, 2026 6:55am
enskit-react-example.ensnode.io Ready Ready Preview, Comment May 22, 2026 6:55am
ensnode.io Ready Ready Preview, Comment May 22, 2026 6:55am
ensrainbow.io Ready Ready Preview, Comment May 22, 2026 6:55am

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 21, 2026

⚠️ No Changeset found

Latest commit: b8f6846

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 21, 2026

Review Change Stack

Warning

Rate limit exceeded

@Y3drk has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 58 minutes and 10 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 4ada4c52-c7af-4087-ba13-5a2d816f7acf

📥 Commits

Reviewing files that changed from the base of the PR and between 46c4782 and b8f6846.

📒 Files selected for processing (1)
  • docs/ensnode.io/src/styles/starlight.css
📝 Walkthrough

Walkthrough

This PR updates component and sidebar styling across the ENSNode documentation site. The service card component gains refined hover colors and transitions, navigation example pages add styled back links with icon indicators, and the Starlight sidebar receives comprehensive CSS updates including increased peek width, revised collapsed state behavior, and enhanced interaction styling for links and expandable elements.

Changes

UI Styling and Layout Updates

Layer / File(s) Summary
Service card styling and transitions
docs/ensnode.io/src/components/atoms/ENSNodeServiceCard.astro
Card root anchor hover border and shadow use updated color (#4a5c63) with new transition timing; chevron icon's group-hover color aligns with the new border color.
Navigation link styling with icons
docs/ensnode.io/src/content/docs/docs/integrate/integration-options/enskit/example.mdx, docs/ensnode.io/src/content/docs/docs/integrate/integration-options/enssdk/example.mdx
Icon component imported from Starlight and used to replace plain "Back" navigation links with styled anchors featuring left-arrow icons and hover/underline effects on both example pages.
Sidebar layout geometry and positioning
docs/ensnode.io/src/styles/starlight.css
Desktop docked sidebar peek width increases from 1rem to 4rem; fixed sidebar nav positioning removes start inset override while retaining other layout properties.
Collapsed sidebar display behavior
docs/ensnode.io/src/styles/starlight.css
Collapsed sidebar handling switches from arrow pseudo-element approach to new selectors that hide non-topic content when sidebar is not hovered/focused, exposing only the current topic icon with transparent background.
Sidebar hover and expandable item styling
docs/ensnode.io/src/styles/starlight.css
Hover effects now apply to both non-selected sidebar links and closed expandable details elements with background tint and translate; closed items gain transition-based color changes on hover; open expandables accent their summaries with configured accent color; nested group-label spans standardized to gray text and normal weight.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Possibly related PRs

  • namehash/ensnode#2131: Introduces the ENSNodeServiceCard component that this PR updates with refined hover styling and transitions.
  • namehash/ensnode#2158: Adjusts sidebar styling including group-label span rules that intersect with this PR's sidebar refinements.

Poem

A rabbit hopped through CSS, so neat,
With hover states and sidebar sweet,
New colors bloom, new icons dance,
The sidebar peeks—a visual trance! 🐰✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title 'chore(docs): Next tranche of UI/UX refinements' accurately describes the main changes: a series of UI/UX improvements to the documentation site.
Description check ✅ Passed The description follows the template with all required sections (Summary, Why, Testing, Notes for Reviewer) completed and provides sufficient detail about changes, rationale, testing performed, and reviewer considerations.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch y3drk/chore/docs-uiux-refinements-pt3

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the ensnode.io docs site styling and a few doc pages to refine sidebar behavior and improve link/card hover UX.

Changes:

  • Adjust docked sidebar behavior (wider “peek” strip + icon-only collapsed view) and unify hover/expanded styling for sidebar items.
  • Upgrade “Back to … overview” links in the enssdk/enskit interactive example pages to a richer icon + hover treatment.
  • Strengthen hover styling for ENSNodeServiceCard.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
docs/ensnode.io/src/styles/starlight.css Refines docked sidebar + sidebar hover/expanded styling for better discoverability and consistency.
docs/ensnode.io/src/content/docs/docs/integrate/integration-options/enssdk/example.mdx Replaces the plain “Back to …” link with an icon-enhanced link UI.
docs/ensnode.io/src/content/docs/docs/integrate/integration-options/enskit/example.mdx Replaces the plain “Back to …” link with an icon-enhanced link UI.
docs/ensnode.io/src/components/atoms/ENSNodeServiceCard.astro Updates hover border/shadow and chevron hover color for stronger card affordance.
Comments suppressed due to low confidence (1)

docs/ensnode.io/src/styles/starlight.css:103

  • nav.sidebar is position: fixed but no longer sets inset-inline-start: 0 (or an equivalent left: 0). On wide layouts where .page is centered (margin-inline: auto), inset-inline-start:auto will anchor the fixed sidebar to its static (centered) position rather than the viewport edge, which can break the intended “docked peek strip” behavior. Consider restoring inset-inline-start: 0 (or inset-inline: 0 auto) so the docked sidebar reliably pins to the viewport’s inline start.
  .page[data-sidebar-docked] nav.sidebar {
    position: fixed;
    inset-block: var(--sl-nav-height) 0;
    z-index: var(--sl-z-index-menu);
    width: var(--sl-sidebar-docked-peek);
    overflow: hidden;
    transition: width 0.2s ease;
    background-color: var(--sl-color-bg-sidebar);
    border-inline-end: 1px solid var(--sl-color-hairline-shade);
  }

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In
`@docs/ensnode.io/src/content/docs/docs/integrate/integration-options/enskit/example.mdx`:
- Line 31: The hover color currently sets the Icon component's color to white
via the class fragment group-hover:text-[var(--sl-color-white)], which can make
the arrow invisible on light backgrounds; update the Icon's class (the Icon
element with the class string containing
"group-hover:text-[var(--sl-color-white)]") to use an accessible accent or text
token on hover instead (for example replace
group-hover:text-[var(--sl-color-white)] with a token such as
group-hover:text-[var(--sl-color-accent)] or another semantically named text
token) so the arrow remains visible without changing the link background.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: abcfdb0b-fc47-4345-afb4-8a8ea6de1a67

📥 Commits

Reviewing files that changed from the base of the PR and between 8220c38 and 46c4782.

📒 Files selected for processing (4)
  • docs/ensnode.io/src/components/atoms/ENSNodeServiceCard.astro
  • docs/ensnode.io/src/content/docs/docs/integrate/integration-options/enskit/example.mdx
  • docs/ensnode.io/src/content/docs/docs/integrate/integration-options/enssdk/example.mdx
  • docs/ensnode.io/src/styles/starlight.css

Comment thread docs/ensnode.io/src/styles/starlight.css
Comment thread docs/ensnode.io/src/styles/starlight.css Outdated
@Y3drk Y3drk marked this pull request as ready for review May 21, 2026 13:38
@Y3drk Y3drk requested a review from a team as a code owner May 21, 2026 13:38
Copilot AI review requested due to automatic review settings May 21, 2026 13:38
@vercel vercel Bot temporarily deployed to Preview – admin.ensnode.io May 21, 2026 13:38 Inactive
@vercel vercel Bot temporarily deployed to Preview – ensrainbow.io May 21, 2026 13:38 Inactive
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

Comment thread docs/ensnode.io/src/styles/starlight.css Outdated
@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps Bot commented May 21, 2026

Greptile Summary

This PR delivers a set of focused UI/UX refinements to the ensnode.io docs site: docked-sidebar discoverability, unified sidebar hover states, stronger service-card hover feedback, and polished "back to overview" links.

  • Docked sidebar: peek width increased from 1rem to 4rem and the ::after chevron hint replaced with CSS rules that keep topic icons visible while collapsing their labels, making the sidebar much more discoverable at a glance.
  • Sidebar hover parity: closed <details> items now share the same background highlight and text-colour transitions as regular nav links; nested expandable labels gain an explicit color: var(--sl-color-gray-2) to match the rest of the sidebar text.
  • Service card & back-links: ENSNodeServiceCard hover state now uses the #4a5c63 accent consistently on both border and chevron with a smooth transition; plain markdown back-links in the enskit/enssdk example pages are replaced with a styled <a> + Starlight Icon component.

Confidence Score: 5/5

All changes are pure CSS and markup; no logic, data, or API surface is touched.

Every change is scoped to visual presentation — CSS variable assignments, Tailwind utility classes, and Starlight component usage. The docked-sidebar CSS rewrite replaces a ::after chevron with icon-based visibility rules using well-established selectors already present in the file. The back-link upgrade and service-card hover tweak are isolated to their respective components. No regressions in behaviour are possible from these changes.

No files require special attention.

Important Files Changed

Filename Overview
docs/ensnode.io/src/components/atoms/ENSNodeServiceCard.astro Strengthened card hover state: border and chevron icon now use the accent colour #4a5c63, shadow upgraded from shadow-xs to shadow, and a smooth transition-all duration-200 added.
docs/ensnode.io/src/content/docs/docs/integrate/integration-options/enskit/example.mdx Plain markdown back-link replaced with a styled <a> + Starlight Icon (left-arrow) component for richer UX; icon and text animate on hover using project-standard CSS variables.
docs/ensnode.io/src/content/docs/docs/integrate/integration-options/enssdk/example.mdx Identical back-link improvement as the enskit example — plain markdown link upgraded to styled <a> + animated Icon component.
docs/ensnode.io/src/styles/starlight.css Docked sidebar peek width widened to 4 rem (was 1 rem) to show topic icons while collapsed; ::after chevron hint replaced with CSS rules that hide labels but keep icons; hover/colour parity added for closed <details> items and nested expandable labels.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[User visits docs page] --> B{Sidebar docked?}
    B -- No --> C[Full sidebar visible]
    B -- Yes --> D[Collapsed: 4rem peek strip\nshows topic icons only]
    D -- hover / focus --> E[Sidebar expands to full width\nwith box-shadow]
    E -- mouse leaves --> D
    D --> D1[Current topic icon highlighted\nbg transparent when collapsed]
    subgraph Sidebar nav items
        F[Normal link] -- hover --> G[bg highlight + translateX\ntext: --sl-color-white]
        H[details closed] -- hover --> I[bg highlight + translateX\ntext: --sl-color-white]
        J[details open / selected] -- no hover effect --> J
    end
    subgraph ENSNodeServiceCard
        K[Default state\nborder-gray-200\nchevron text-gray-200] -- hover --> L[border #4a5c63\nchevron text #4a5c63\nlarger shadow\ntransition-all 200ms]
    end
    subgraph Back-link
        M[Icon left-arrow\ntext --sl-color-accent] -- hover --> N[Icon + text\ntext --sl-color-white\nunderline-offset shrinks]
    end
Loading

Reviews (5): Last reviewed commit: "Merge branch 'main' of https://github.co..." | Re-trigger Greptile

Comment on lines +13 to +21
<a href={href} class="not-content group w-full h-fit min-h-[100px] flex flex-row justify-between items-center gap-5 border border-gray-200 hover:border-[#4a5c63] hover:shadow cursor-pointer rounded-2xl overflow-hidden p-4 transition-all duration-200">
<div class="w-fit flex flex-row justify-start items-center gap-5">
<slot name="icon"/>
<div class="not-content w-full h-fit flex flex-col justify-start items-start gap-2">
<h4 class="not-content text-2xl leading-normal font-semibold text-black">{title}</h4>
<p class="not-content text-base leading-normal text-[var(--sl-color-text)]">{description}</p>
</div>
</div>
<Icon name="lucide:chevron-right" class="not-content h-10 w-10 shrink-0 text-gray-200 group-hover:text-gray-300" />
<Icon name="lucide:chevron-right" class="not-content h-10 w-10 shrink-0 text-gray-200 group-hover:text-[#4a5c63]" />
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 The hover color #4a5c63 is hardcoded in two places on this element. This value won't respond to Tailwind theme changes or dark/light mode switching, and it silently diverges from the design-token system already used elsewhere (e.g. var(--sl-color-text)). The closest existing token—var(--sl-color-accent)—gives the same teal-ish look while staying theme-aware.

Suggested change
<a href={href} class="not-content group w-full h-fit min-h-[100px] flex flex-row justify-between items-center gap-5 border border-gray-200 hover:border-[#4a5c63] hover:shadow cursor-pointer rounded-2xl overflow-hidden p-4 transition-all duration-200">
<div class="w-fit flex flex-row justify-start items-center gap-5">
<slot name="icon"/>
<div class="not-content w-full h-fit flex flex-col justify-start items-start gap-2">
<h4 class="not-content text-2xl leading-normal font-semibold text-black">{title}</h4>
<p class="not-content text-base leading-normal text-[var(--sl-color-text)]">{description}</p>
</div>
</div>
<Icon name="lucide:chevron-right" class="not-content h-10 w-10 shrink-0 text-gray-200 group-hover:text-gray-300" />
<Icon name="lucide:chevron-right" class="not-content h-10 w-10 shrink-0 text-gray-200 group-hover:text-[#4a5c63]" />
<a href={href} class="not-content group w-full h-fit min-h-[100px] flex flex-row justify-between items-center gap-5 border border-gray-200 hover:border-[var(--sl-color-accent)] hover:shadow cursor-pointer rounded-2xl overflow-hidden p-4 transition-all duration-200">
<div class="w-fit flex flex-row justify-start items-center gap-5">
<slot name="icon"/>
<div class="not-content w-full h-fit flex flex-col justify-start items-start gap-2">
<h4 class="not-content text-2xl leading-normal font-semibold text-black">{title}</h4>
<p class="not-content text-base leading-normal text-[var(--sl-color-text)]">{description}</p>
</div>
</div>
<Icon name="lucide:chevron-right" class="not-content h-10 w-10 shrink-0 text-gray-200 group-hover:text-[var(--sl-color-accent)]" />

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • We only support light mode, so theme changes are not a concern
  • The color was chosen to match the hover colors of the search component


[Back to enskit overview](/docs/integrate/integration-options/enskit)
<a class="group w-fit flex flex-row justify-start items-center gap-2 mt-4" href="/docs/integrate/integration-options/enskit">
<Icon name="left-arrow" class="h-5 w-5 text-[var(--sl-color-accent)] group-hover:text-[var(--sl-color-white)] transition-colors duration-200" />
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 On hover, the icon color transitions to --sl-color-white. In this project --sl-color-white is mapped to var(--color-surface), which in light mode is a very light (near-white) value — the same family of colour as the page background. The icon would effectively disappear on hover in light mode. Using --sl-color-accent-high preserves visibility in both themes. The same issue exists in the enssdk example.

Suggested change
<Icon name="left-arrow" class="h-5 w-5 text-[var(--sl-color-accent)] group-hover:text-[var(--sl-color-white)] transition-colors duration-200" />
<Icon name="left-arrow" class="h-5 w-5 text-[var(--sl-color-accent)] group-hover:text-[var(--sl-color-accent-high)] transition-colors duration-200" />

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • In our current setup, --sl-color-white is a near black color, so the visibility is not an issue.
  • Additionally, that color matches the hover styles of the text-body links that we want to mimic there

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're right — I can see in starlight.css that --sl-color-white is remapped to var(--color-surface), and that same token is used consistently throughout the stylesheet for hover states (sidebar items, pagination arrows, heading links, etc.). My concern was based on the standard Starlight convention where --sl-color-white is literally white, but your theme inverts that mapping intentionally. The usage here is consistent with the rest of the design system. My comment was incorrect.

Tip: You can give me more context with [.greptile/rules.md](https://www.greptile.com/docs/code-review/custom-standards) so I get this right next time.


[Back to enssdk overview](/docs/integrate/integration-options/enssdk)
<a class="group w-fit flex flex-row justify-start items-center gap-2 mt-4" href="/docs/integrate/integration-options/enssdk">
<Icon name="left-arrow" class="h-5 w-5 text-[var(--sl-color-accent)] group-hover:text-[var(--sl-color-white)] transition-colors duration-200" />
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Same light-mode icon visibility concern as in the enskit example — --sl-color-white resolves to a near-white surface colour, making the icon invisible on hover against the light page background.

Suggested change
<Icon name="left-arrow" class="h-5 w-5 text-[var(--sl-color-accent)] group-hover:text-[var(--sl-color-white)] transition-colors duration-200" />
<Icon name="left-arrow" class="h-5 w-5 text-[var(--sl-color-accent)] group-hover:text-[var(--sl-color-accent-high)] transition-colors duration-200" />

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • In our current setup, --sl-color-white is a near black color, so the visibility is not an issue.
  • Additionally, that color matches the hover styles of the text-body links that we want to mimic there

Comment thread docs/ensnode.io/src/styles/starlight.css
Comment thread docs/ensnode.io/src/styles/starlight.css Outdated
Comment thread docs/ensnode.io/src/components/atoms/ENSNodeServiceCard.astro
@vercel vercel Bot temporarily deployed to Preview – admin.ensnode.io May 21, 2026 13:59 Inactive
@vercel vercel Bot temporarily deployed to Preview – ensrainbow.io May 21, 2026 13:59 Inactive
@Y3drk
Copy link
Copy Markdown
Member Author

Y3drk commented May 21, 2026

@greptileai

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated no new comments.

Comments suppressed due to low confidence (1)

docs/ensnode.io/src/styles/starlight.css:103

  • nav.sidebar is now position: fixed but no longer sets an inline start offset (inset-inline-start: 0). With left/right left as auto, a fixed-position element uses its static position, which can shift when .page is centered at wider breakpoints (see the later @media (min-width: 1484px) rule that adds margin-inline: auto). This can leave the docked sidebar floating away from the viewport edge and make the --sl-sidebar-docked-peek padding math incorrect. Consider restoring inset-inline-start: 0 (or an equivalent logical property) so the docked sidebar is anchored to the viewport edge consistently.
  .page[data-sidebar-docked] nav.sidebar {
    position: fixed;
    inset-block: var(--sl-nav-height) 0;
    z-index: var(--sl-z-index-menu);
    width: var(--sl-sidebar-docked-peek);
    overflow: hidden;
    transition: width 0.2s ease;
    background-color: var(--sl-color-bg-sidebar);
    border-inline-end: 1px solid var(--sl-color-hairline-shade);
  }

@vercel vercel Bot temporarily deployed to Preview – admin.ensnode.io May 22, 2026 06:53 Inactive
@vercel vercel Bot temporarily deployed to Preview – ensrainbow.io May 22, 2026 06:53 Inactive
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated no new comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Docs related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants