fixes #10857 invisible span had width (#10860)

This commit is contained in:
Anthon van der Neut 2019-03-19 10:38:48 +01:00 • committed by Miran
commit 5c1c5902e2
4 changed files with 29 additions and 13 deletions

View file

@ -50,7 +50,7 @@ $seeSrc
# See doc.item for available substitution variables.
doc.item.toc = """
<li><a class="reference" href="#$itemSymOrIDEnc"
title="$header_plain">$name<span class="attachedType" style="visibility:hidden">$attype</span></a></li>
title="$header_plain">$name<span class="attachedType">$attype</span></a></li>
"""
# HTML rendered for doc.item's seeSrc variable. Note that this will render to
@ -949,6 +949,10 @@ span.pragmawrap {
display: none;
}
span.attachedType {
display: none;
visibility: hidden;
}
</style>
<script type="text/javascript" src="dochack.js"></script>