rustdoc: put auto-hidden docblock labels in line with the toggle

This commit is contained in:
QuietMisdreavus 2017-08-14 10:54:24 -05:00 committed by GitHub
parent 14fb329e0a
commit 1f9d032b38

View file

@ -1271,7 +1271,7 @@
e.innerHTML = labelForToggleButton(true);
});
onEach(toggle.getElementsByClassName('toggle-label'), function(e) {
e.style.display = 'block';
e.style.display = 'inline-block';
});
}
}