apollographql / apollographql/federation
🐛 📝 The copy button block display of code snippets
Open
- Dominant language
- TypeScript
- Stars
- 725
- Forks
- 276
- Avg merge
- 1h 47m
- Merged PRs (30d)
- 1
Description
If there is only one line of code snippet the `copy` button might block some of the text out.
https://www.apollographql.com/docs/federation/federation-spec/#key

Contributor guide
Research direction
Open the linked Federation specification page and reproduce the issue with a one-line code snippet, using the attached screenshot as the expected context. Trace the documentation page's snippet and copy-button rendering, then verify that the button no longer obscures any code text.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- graphql, typescript
- Domain
- documentation, frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100