Commit c0ca0bc
committed
fix(a11y): revert touch-only copy button visibility to fix target-size violation
The @media (hover: none) block that made copy buttons always visible on
touch caused the absolutely-positioned button (top: 100%) to appear between
the package header and the sticky subheader, landing within 24px of the
provenance shield link and failing the target-size audit.
Revert to display: none on touch devices to eliminate the overlap.1 parent d0d6a82 commit c0ca0bc
1 file changed
+2
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
93 | 93 | | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
| 94 | + | |
103 | 95 | | |
104 | 96 | | |
105 | 97 | | |
0 commit comments