nuxt / nuxt/ui

USidebar: Add option to contain the sidebar within the parent element instead of fixed to a side

Open
#6,525 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

triage
Dominant language
TypeScript
Stars
6.9k
Forks
1.1k
Avg merge
1d 7h
Merged PRs (30d)
57

Description

Package

v4.x

Description

Some websites can work upto only certain max-width, like 1440px. This may include the dashboard layout websites as well. Currently, using the sidebar looks like this, see how the sidebar is not contained within the max-width -

Image

while it should look like -

Image
Additional context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the USidebar entry point and inspect its current positioning behavior, then compare it with the two supplied screenshots. Determine how the requested containment option should be exposed and verify it in a max-width parent layout. Done means the sidebar can remain contained within its parent without changing existing side-fixed behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
tailwindcss, typescript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
56/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.