Fix display of aliases in rustdoc search results

This commit is contained in:
Guillaume Gomez 2023-07-18 14:22:27 +02:00
parent 6b9236ed5a
commit 3dec71ea8f
2 changed files with 17 additions and 21 deletions

View file

@ -888,7 +888,7 @@ so that we can apply CSS-filters to change the arrow color in themes */
justify-content: start;
flex: 3;
}
.search-results .result-name span.alias {
.search-results .result-name .alias {
color: var(--search-results-alias-color);
}
.search-results .result-name .grey {
@ -904,6 +904,9 @@ so that we can apply CSS-filters to change the arrow color in themes */
max-width: calc(100% - var(--search-typename-width));
display: inline-block;
}
.search-results .result-name .path > * {
display: inline;
}
.popover {
position: absolute;