Skip to content

Conversation

@cte
Copy link
Collaborator

@cte cte commented Mar 17, 2025

Context

We can get away with less CSS here, and if possible we shouldn't hardcode heights.

Implementation

Screenshots

before after

How to Test

Get in Touch


Important

Simplified CSS for SettingsView in SettingsView.tsx by removing hardcoded properties and improving scroll handling.

  • CSS Simplification:
    • Removed hardcoded maxHeight, height, overflowY, overflowX, position, display, scrollbarWidth, and willChange properties from TabContent in SettingsView.tsx.
    • Added will-change-scroll class to TabContent for smoother scrolling.
  • Behavior:
    • Simplified onWheel event in SettingsView.tsx to directly adjust scrollTop.
  • Misc:
    • Updated .changeset/cyan-owls-juggle.md to reflect the fix for scrolling in the VSCode editor tab.

This description was created by Ellipsis for 7d1d558. It will automatically update as commits are pushed.

@cte cte requested a review from mrubens as a code owner March 17, 2025 19:25
@changeset-bot
Copy link

changeset-bot bot commented Mar 17, 2025

🦋 Changeset detected

Latest commit: 7d1d558

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
roo-cline Patch

Not sure what this means? Click here to learn what changesets are.

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

@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Mar 17, 2025
@dosubot dosubot bot added the enhancement New feature or request label Mar 17, 2025
@cte cte force-pushed the cte/settings-scroll-cleanup branch from e8b319d to 7d1d558 Compare March 17, 2025 19:28
@cte cte merged commit 69cc6c1 into main Mar 17, 2025
8 checks passed
@cte cte deleted the cte/settings-scroll-cleanup branch March 17, 2025 19:28
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap Mar 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants