Skip to content

Commit 1f9d032

Browse files
rustdoc: put auto-hidden docblock labels in line with the toggle
1 parent 14fb329 commit 1f9d032

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/html/static/main.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1271,7 +1271,7 @@
12711271
e.innerHTML = labelForToggleButton(true);
12721272
});
12731273
onEach(toggle.getElementsByClassName('toggle-label'), function(e) {
1274-
e.style.display = 'block';
1274+
e.style.display = 'inline-block';
12751275
});
12761276
}
12771277
}

0 commit comments

Comments
 (0)