[code-snippet]: min-width causes reflow (400%) violation #7406
Labels
component: code-snippet
good first issue 👋
Used by GitHub to elevate contribution opportunities
type: a11y ♿
Environment
Detailed description
7.24/10.24
When resize screen to 320px wide - Should be able to see single line code snippet Copy Button w/ padding of 1rem on each side.
Single line code snippet itself min-width is 320px so with any padding around it, you cannot see or USE the copy button.
1.4.10 REFLOW
https://codesandbox.io/s/exciting-wave-q0cy5?fontsize=14&hidenavigation=1&theme=dark
In above codesandbox, make width of embedded browser <340 and you will see copy button become inaccessible.
The text was updated successfully, but these errors were encountered: