Skip to content

Commit 17690a2

Browse files
committed
A11y: Increase the target area for single-letter index links
1 parent a3303c0 commit 17690a2

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

python_docs_theme/static/pydoctheme.css

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,8 +230,15 @@ dl > dt span ~ em {
230230
padding-left: 20px;
231231
}
232232

233+
div.genindex-jumpbox {
234+
display: inline-flex;
235+
flex-wrap: wrap;
236+
}
237+
233238
div.genindex-jumpbox a {
234-
padding: 0 0.5em;
239+
margin: 0 5px;
240+
min-width: 30px;
241+
text-align: center;
235242
}
236243

237244
@media (max-width: 1023px) {

0 commit comments

Comments
 (0)