Skip to content

Commit 75b8026

Browse files
committed
A11y: Increase the target area for single-letter index links
1 parent 859f780 commit 75b8026

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

python_docs_theme/static/pydoctheme.css

+9-1
Original file line numberDiff line numberDiff line change
@@ -230,8 +230,16 @@ dl > dt span ~ em {
230230
padding-left: 20px;
231231
}
232232

233+
div.genindex-jumpbox,
234+
div.genindex-jumpbox > p {
235+
display: inline-flex;
236+
flex-wrap: wrap;
237+
}
238+
233239
div.genindex-jumpbox a {
234-
padding: 0 0.5em;
240+
margin: 0 5px;
241+
min-width: 30px;
242+
text-align: center;
235243
}
236244

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

0 commit comments

Comments
 (0)