When I open the docs on narrow screen (Full HD in vertical mode), the containers for code results are too tall (mostly empty).
Example (https://react.dev/learn/reusing-logic-with-custom-hooks):

Note that Show less/Show more button will not fix it (it will only affect the size of code box).
Tested in:
Chrome 116.0.5845.110 (Official Build) (64-bit) on Ubuntu 20.04.
When I open the docs on narrow screen (Full HD in vertical mode), the containers for code results are too tall (mostly empty).
Example (https://react.dev/learn/reusing-logic-with-custom-hooks):
Note that Show less/Show more button will not fix it (it will only affect the size of code box).
Tested in:
Chrome 116.0.5845.110 (Official Build) (64-bit) on Ubuntu 20.04.