apollographql / apollographql/federation

🐛 📝 The copy button block display of code snippets

Open
#2,003 0 comments 0 reactions 0 assignees View on GitHub
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
![image](https://user-images.githubusercontent.com/86342787/180375161-33ab352f-f64b-415c-a0b4-11814728dd19.png)

Contributor guide

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.