harmeetsingh11 / RefactorMate

RefactorMate is an AI tool for refactoring your code. It uses the advanced GPT-3.5-turbo model from OpenAI to make coding easier. Whether you're new to coding or an experienced developer, RefactorMate is designed to make your coding experience better and more efficient.
17 stars 23 forks source link

[BUG]: Incomplete Code Display and Unnecessary Scrollbar in Original Code Input Box #4

Closed harmeetsingh11 closed 9 months ago

harmeetsingh11 commented 9 months ago

Issue

The code entered in the Original Code input box is displayed at half of the height of the input box, and a scrollbar is added. The expected behavior is that if the content overflows the full height of the container, then the scrollbar should be added.

Description

When entering code into the "Original Code" input box, the display behavior is not as expected. The code appears at only half of the height of the input box, and a scrollbar is added even when the content doesn't exceed the full height of the container.

Steps to Reproduce

  1. Navigate to the "Original Code" input box.
  2. Enter code that exceeds the half height of the input box.

Expected Behavior

The code should be displayed within the full height of the input box, and a scrollbar should only be added if the content exceeds the available vertical space.

Actual Behavior

The code is displayed at half of the height of the input box, and a scrollbar is added even when the content doesn't overflow the full height of the container.

Screenshots

height

Environment:

Record

Quaxguy commented 9 months ago

I would like to work on this issue. Assign me I'm a contributor under codepeak2023

Albert-2 commented 9 months ago

hey @harmeetsingh11 May i contribute to this issue..... Thank you.....!! :)

harmeetsingh11 commented 9 months ago

@Albert-2 this issue has been assigned to you and you can start working on this issue.

Albert-2 commented 9 months ago

image

Hey @harmeetsingh11 I've made the changes you asked for and made a PR too Please review it and if in case i had missed something then please let me know Thank You....

harmeetsingh11 commented 9 months ago

@Albert-2 Thanks for making the PR. Can you please mention issue number in PR (Something like "Closes issue/Resolves issue #issue number"). I will review the changes tomorrow.

Albert-2 commented 9 months ago

https://github.com/harmeetsingh11/RefactorMate/issues/4 here it is Okok

Albert-2 commented 9 months ago

hey @harmeetsingh11 Kindly review the PR.....!!