8000 Fix language select width calculation by zhangtony239 · Pull Request #3201 · RooVetGit/Roo-Code · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix language select width calculation #3201

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 6, 2025

Conversation

zhangtony239
Copy link
@zhangtony239 zhangtony239 commented May 6, 2025

Context

Fix language select width problem reported in #3179.

Type of Change

  • 🐛 Bug fix (non-breaking change which fixes an issue)
    ✨ New feature (non-breaking change which adds functionality)
    💥 Breaking change (fix or feature that would cause existing functionality to not work as expected)
    ♻️ Refactor Changes
  • 💅 Cosmetic Changes
    📚 Documentation update
    🏃 Workflow Changes

Screenshots

before after
image image

How to Test

  • Run this version.
  • Find a code quote Roo sent you.
  • The CSS should be fine.

Get in Touch

Discord: zhangtony239


Important

Fixes language select width calculation in CodeBlock.tsx by updating the style property of LanguageSelect.

  • Bug Fix:
    • Fixes language select width calculation in CodeBlock.tsx by updating the style property of LanguageSelect to use calc(${currentLanguage?.length || 0}ch + 9px).
  • Testing:
    • Run the updated version and verify the CSS for language select is correct.

This description was created by Ellipsis for 391d49a. You can customize this summary. It will automatically update as commits are pushed.

Copy link
changeset-bot bot commented May 6, 2025

⚠️ No Changeset found

Latest commit: ac04aad

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@dosubot dosubot bot added size:XS This PR changes 0-9 lines, ignoring generated files. bug Something isn't working labels May 6, 2025
@hannesrudolph
Copy link
Collaborator

Closed #3179

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label May 6, 2025
@mrubens mrubens merged commit 6d0f08f into RooVetGit:main May 6, 2025
12 checks passed
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap May 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working lgtm This PR has been approved by a maintainer size:XS This PR changes 0-9 lines, ignoring generated files.
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants
0