mirror of
https://github.com/openharmony/third_party_rust_rust.git
synced 2026-07-19 19:53:38 -04:00
rustdoc: remove hover gap in file picker
This commit is contained in:
@@ -1500,10 +1500,26 @@ details.dir-entry {
|
||||
padding-left: 4px;
|
||||
}
|
||||
|
||||
details.dir-entry > summary::after {
|
||||
content: " ►";
|
||||
position: absolute;
|
||||
left: -15px;
|
||||
top: 0px;
|
||||
font-size: 80%;
|
||||
padding: 2px 0px;
|
||||
/* set width to cover gap between arrow and text */
|
||||
width: 25px;
|
||||
}
|
||||
|
||||
details[open].dir-entry > summary::after {
|
||||
content: " ▼";
|
||||
}
|
||||
|
||||
details.dir-entry > summary {
|
||||
margin: 0 0 0 13px;
|
||||
list-style-position: outside;
|
||||
list-style: none;
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
details.dir-entry div.folders, details.dir-entry div.files {
|
||||
|
||||
Reference in New Issue
Block a user