Rollup merge of #58086 - GuillaumeGomez:rustdoc-file-list-improvement, r=Manishearth
[rustdoc] Improve file list display Improve a bit the arrows to show a folder's file and the arrow to show/hide the left panel. r? @QuietMisdreavus
This commit is contained in:
commit
f22c445053
2 changed files with 3 additions and 2 deletions
|
@ -1573,5 +1573,6 @@ div.name::before {
|
|||
}
|
||||
div.name.expand::before {
|
||||
transform: rotate(90deg);
|
||||
left: -14px;
|
||||
left: -15px;
|
||||
top: 2px;
|
||||
}
|
||||
|
|
|
@ -94,7 +94,7 @@ function createSidebarToggle() {
|
|||
inner1.style.position = "relative";
|
||||
|
||||
var inner2 = document.createElement("div");
|
||||
inner2.style.marginTop = "-2px";
|
||||
inner2.style.paddingTop = "3px";
|
||||
if (getCurrentValue("rustdoc-source-sidebar-show") === "true") {
|
||||
inner2.innerText = "<";
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue