Code blocks in lists are too narrow

When including code blocks in markdown, the code is allowed to extend to the full window width even though the paragraphs of text are kept narrower. This works nicely.

Here is a code block in markdown:

~~~js
import something from 'npm:some place with a long name that is making this a long line';
~~~

But if the code block is in a list, the code block is now limited to the same narrow width as the text. This is not ideal.

Here are code blocks in an unordered list in markdown:

- The first code:
  ~~~js
  import something from 'npm:some place with a long name that is making this a long line';
  ~~~
- The second code:
  ~~~js
  import somethingElse from 'npm:another place with a long name that is making this a long line';
  ~~~

You can see how these are rendered in a notebook here:

https://observablehq.com/d/957117e9c703c384

I think it would look better if the code blocks were allowed to expand to the full width even when they are in lists.