Bug Description
Reference panel layout breaks when it is narrow with Display and Buttons categories.
How To Reproduce
Steps to reproduce the behaviour:
- Go to 'https://python.microbit.org/v/beta'
- Make the Reference panel narrow
- Select Display or Buttons
- See error as in screenshot
Expected behaviour
Works the same as other categories.
Screenshots

Environment
Desktop (please complete the following information):
- OS: [e.g. iOS] Windows 10
- Browser [e.g. chrome, safari] Chrome
- Version [e.g. 22] 100.0.4896.127
Smartphone (please complete the following information):
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
Additional context
Add any other context about the problem here.