Skip to content
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

Add scrollbar in codeEditor #127

Open
prijeshb opened this issue Feb 14, 2019 · 7 comments
Open

Add scrollbar in codeEditor #127

prijeshb opened this issue Feb 14, 2019 · 7 comments

Comments

@prijeshb
Copy link
Collaborator

prijeshb commented Feb 14, 2019

Describe the bug
currently no scrollbar is loaded as you increase text cotent in editor, but instead size of Editor increases.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'existing project by adding it if do not have one or from profile section on top right corner'
  2. Click on 'Add issuse or comment on any project'
  3. See error

Expected behavior
Vertical scrollbar is available for scrolling, if you add more content to editor.

Screenshots

In Comments

ezgif com-crop 1

On AddIssue

screenshot 175 1

Additional context
You can find corresponding files from src/app/shared/comments folder

@revanth-reddy
Copy link
Contributor

@prijeshb please assign me this issue

@prijeshb
Copy link
Collaborator Author

@revanth-reddy Assigned to you.

@AdityaAnandKrishna
Copy link
Contributor

Can I work on this issue.

@sanyamdogra
Copy link
Collaborator

Hey @AdityaAnandKrishna, @revanth-reddy is already working on this issue. You may choose another.

@prijeshb
Copy link
Collaborator Author

@revanth-reddy Any updates ??

@revanth-reddy
Copy link
Contributor

@prijeshb The scrollbar is hidden because of styling from node_modules/simplemde/dist/simplemde.min.css

where the code is
.CodeMirror-scroll{
min-height:300px;
}

which has to be changed to
.CodeMirror-scroll{
height:300px;
}

But Node_modules is added to git_ignore so direct change in css won't work because of git.
I am still struck there.

@WickedBrat
Copy link
Member

WickedBrat commented Feb 17, 2019 via email

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

No branches or pull requests

5 participants