Code block in notes cut off when in "1st line" notes mode

Steps to reproduce

Create code block in notes of an item:
image

Expected result

When item is not selected the first line of the code block renders and is fully visible.

Actual result

The first line of the code block is cut off:
image

Environment

Windows 10 Chrome 85.