[docs-infra] Additional white space left after expanding the code block
Open
@alexfauquette is already working on this.
Since Oct 27, 2023.
design
scope: docs-infra
- Dominant language
- JavaScript
- Stars
- 99.1k
- Forks
- 32.5k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 106
Description
Steps to reproduce 🕹
This problem can be seen in any component page — for example, Material UI's Button page.
- Go to a demo that has the "Expand code" button
- Click on it to expand the code block
- Then, click again on it to collapse the code block back
- See how there's now an empty div creating additional white space
Expected behavior 🤔
The additional white space shouldn't be there — content spacing throughout the page should remain the same.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.