Skip to content

Notebook code boxes not showing full content #11916

Description

@ION606

Describe the bug

The boxes that display code in the Notebook interface do not resize, and do not fit some of the larger content, nor do they scroll.

Expected behavior

One (or more) of the following

  1. Set the overflow to scroll so the user can scroll down
  2. Set the height to fit-content so that all text can fit in the box
  3. Allow for resizing of the box

To Reproduce
Steps to reproduce the behavior:

  1. go to the grading interface
  2. open the notebook view
  3. find a large submission in a code box
  4. See error

Configuration

  • OS: Arch Linux
  • Browser: Librewolf

Screenshots

I do not want to add any student's submission to this as it would be a breach of privacy

Additional context

the CSS selector would be [id*="codebox_"] > .CodeMirror

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions