Sheet component fixed width

Open
#3,023 0 comments 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

Assessment

This issue has not been assessed yet.

Description

byte-size good first issue

Feedback summary

The current Sheet component doesn't allow us to adjust the min-width or other properties of the displayed div.

The current default it's too small for some applications:
image

Currently, we only can adjust it using CSS.

Improvements

We could allow the component to receive a classname props, which would allow us to pass a bootstrap classname to the Sheet div, making it easier to customize.

Edit (@brian-smith-tcril): I have created an issue to add className https://github.com/openedx/paragon/issues/3750. I am going to keep this issue open, as I don't believe className is an ideal solution for providing width customization (see https://github.com/openedx/paragon/pull/3735#issuecomment-3180061979)

In the working group meeting on 2025-08-13 we discussed possible options. One idea was to provide a "size" prop that could be set to small/medium/large.

Dominant language
JavaScript
Stars
140
Forks
100
Avg merge
1h 3m
Merged PRs (30d)
30

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.

More from openedx/paragon

All issues in openedx/paragon

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.