Skip to content

Conversation

@krissetto
Copy link
Contributor

@krissetto krissetto commented Jan 9, 2026

Refactor sidebar with misc layout improvements to make it less fragile and easier to maintain

  • Give scrollbar component its own width
  • Give sidebar configurable layout settings
  • Get rid of many magic numbers in layout calculations so things are easier to maintain
  • Dynamic sidebar padding based on scrollbar presence

Videos

Before:

Screen.Recording.2026-01-09.at.11.06.57.mov

After:

Screen.Recording.2026-01-09.at.11.04.35.mov

- Give scrollbar component its own width
- Give sidebar configurable layout settings
- Get rid of many magic numbers in layout calculations so things are easier to maintain
- Dynamic padding based on scrollbar presence

Signed-off-by: Christopher Petito <[email protected]>
@krissetto krissetto requested a review from a team as a code owner January 9, 2026 10:11
@dgageot dgageot merged commit 929df6f into docker:main Jan 9, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants