max height for code snippets
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 641
- Avg merge
- 12h 4m
- Merged PRs (30d)
- 57
Description
some of the snippets that are particularly long make the page hard to follow (especially in arcade for snippets with images); it might be nice to had a max-height: 40em or something of the sort to the text code snippets so they are available without making the page > 2x as long per expanded snippet.


Maybe also for block snippets that are super large, but that might be more debatable?

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.
Research direction
Start by locating the frontend rendering and styles for expanded text code snippets, especially in Arcade, then reproduce the long-snippet behavior shown in the issue. The work is done when long text snippets have a bounded height without making pages excessively long; whether to apply the same treatment to large block snippets remains undecided.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100