diff --git a/src/librustdoc/html/static/main.js b/src/librustdoc/html/static/main.js index 84ab88c4fdc08..8ec9cd8660a80 100644 --- a/src/librustdoc/html/static/main.js +++ b/src/librustdoc/html/static/main.js @@ -1271,7 +1271,7 @@ e.innerHTML = labelForToggleButton(true); }); onEach(toggle.getElementsByClassName('toggle-label'), function(e) { - e.style.display = 'block'; + e.style.display = 'inline-block'; }); } }