ckeditor / github-writer

GitHub Writer - WYSIWYG Rich-Text Editor for GitHub, powered by CKEditor.
https://ckeditor.com/
Other
379 stars 61 forks source link

MD Content covers/overlaps commit message and button #334

Closed klovaaxel closed 2 years ago

klovaaxel commented 2 years ago

📝Reproduction steps (if any)

  1. Use GitHubWriter on a MD file longer than the max height of the content box (909px)
  2. My example ( https://github.com/klovaaxel/schedule/edit/main/md/weuweb01.md )

✔️ Expected result

What is the expected result of the above steps?

What i expect would look like: github com_klovaaxel_schedule_edit_main_md_weuweb01 md (1)

Where the toolbar is sticky, so it's always accessible

❌ Actual result

What is the actual result of the above steps?

MD content overflow is not hidden nor scrollable but just shown, which means some of it is coverd by the commit message

github com_klovaaxel_schedule_edit_main_md_weuweb01 md

❓ Possible solution

If you have ideas, you can list them here. Otherwise, you can delete this section.

Could be solved with this CSS

.file{ overflow-y: scroll; } .file-header{ position: sticky; top: 0; }

📃 Other details

Dumluregn commented 2 years ago

It's a duplicate of #266, which is already resolved at the master branch.