diff options
| author | Michael Howell <michael@notriddle.com> | 2023-01-13 15:42:29 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2023-01-13 15:42:29 -0700 |
| commit | 5314ed5627f99a1956c792cd493493c0edf23a93 (patch) | |
| tree | 05a6864d1625ef49a98e2690e7a61c64ce343813 /src/librustdoc/html/static/js/main.js | |
| parent | 0b90256ada21c6a81b4c18f2c7a23151ab5fc232 (diff) | |
| download | rust-5314ed5627f99a1956c792cd493493c0edf23a93.tar.gz rust-5314ed5627f99a1956c792cd493493c0edf23a93.zip | |
rustdoc: remove `docblock` class from notable trait popover
This commit builds on b72de9be74dd5ac1d8b23d5ece03a7690274a14c, which removes the `docblock` class from the All Items page, and 9457380ac902db3febf92077c5b645db55998ad4, which removes the `docblock` class from the item decl. Fixes #92974
Diffstat (limited to 'src/librustdoc/html/static/js/main.js')
| -rw-r--r-- | src/librustdoc/html/static/js/main.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/html/static/js/main.js b/src/librustdoc/html/static/js/main.js index 51aee8e7c89..98f31563289 100644 --- a/src/librustdoc/html/static/js/main.js +++ b/src/librustdoc/html/static/js/main.js @@ -847,7 +847,7 @@ function loadCss(cssUrl) { window.hideAllModals(false); const ty = e.getAttribute("data-ty"); const wrapper = document.createElement("div"); - wrapper.innerHTML = "<div class=\"docblock\">" + window.NOTABLE_TRAITS[ty] + "</div>"; + wrapper.innerHTML = "<div class=\"content\">" + window.NOTABLE_TRAITS[ty] + "</div>"; wrapper.className = "notable popover"; const focusCatcher = document.createElement("div"); focusCatcher.setAttribute("tabindex", "0"); |
