Merge pull request #1477 from ZoomTen/docs-3

docpdf: add dot leaders in ToC
This commit is contained in:
tildearrow 2023-09-11 21:50:09 -05:00 committed by GitHub
commit cdb1638cb3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -227,7 +227,8 @@ if __name__ == "__main__":
letter-spacing: .01em; letter-spacing: .01em;
} }
a.indexItemPre[href^='#']:after { a.indexItemPre[href^='#']:after {
content: ''; content: ' ' leader('.') ' ';
font-size: 1em;
} }
a.indexItem { a.indexItem {
float: right; float: right;