Skip to content

fix: make settings dialog sidebar responsive at narrow widths (fixes PlatformNetwork/bounty-challenge#21903)#18

Merged
echobt merged 1 commit intomainfrom
fix/issue-21903
Feb 27, 2026
Merged

fix: make settings dialog sidebar responsive at narrow widths (fixes PlatformNetwork/bounty-challenge#21903)#18
echobt merged 1 commit intomainfrom
fix/issue-21903

Conversation

@echobt
Copy link
Contributor

@echobt echobt commented Feb 27, 2026

Fix for PlatformNetwork/bounty-challenge#21903: Settings Dialog sidebar clips content at narrow viewport widths

Changes

  • Changed sidebar min-width from 200px to 120px so it can shrink further
  • Changed flex-shrink from 0 to 1 to allow the sidebar to participate in flex shrinking
  • Changed overflow-x from auto to hidden to prevent horizontal scrollbar
  • Added text overflow ellipsis on sidebar labels
  • Added min-width: 0 on tree items to enable text truncation

Files Modified

  • src/components/SettingsDialog.tsx
  • src/styles/settings.css

…latformNetwork/bounty-challenge#21903)

- Change sidebar flex-shrink from '0' to '1' so it can shrink at narrow viewports
- Reduce sidebar min-width from '200px' to '120px' for better narrow-width behavior
- Change sidebar overflow-x from 'auto' to 'hidden' to prevent horizontal scrollbar
- Add 'settings-sidebar' CSS class for responsive media query targeting
- Add min-width: 0 on sidebar tree item buttons to enable proper text truncation
- Add text-overflow: ellipsis with overflow: hidden on Modified filter text
- Add @media (max-width: 500px) responsive rules that further compress the sidebar
  at very narrow widths (auto width, reduced padding, smaller font)
@echobt echobt changed the title fix: make settings dialog sidebar responsive at narrow widths (fixes #21903) fix: make settings dialog sidebar responsive at narrow widths (fixes PlatformNetwork/bounty-challenge#21903) Feb 27, 2026
@echobt
Copy link
Contributor Author

echobt commented Feb 27, 2026

Closing: this fix has already been applied directly to the main branch. The branch is based on an older commit and merging it would regress other fixes. The referenced issue is resolved on main.

@echobt echobt closed this Feb 27, 2026
@echobt echobt reopened this Feb 27, 2026
@echobt echobt merged commit abc7caa into main Feb 27, 2026
15 of 17 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.

1 participant