diff options
| author | Guillaume Gomez <guillaume.gomez@huawei.com> | 2023-07-18 14:22:27 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume.gomez@huawei.com> | 2023-07-18 14:34:24 +0200 |
| commit | 3dec71ea8f3dc2a74f6f125e580fa8b36c91dee9 (patch) | |
| tree | 11b31095a43adedaf38533c6c5954ef75385351e /src/librustdoc/html/static/css | |
| parent | 6b9236ed5a58879969ddcf4c35a6a24f6260e979 (diff) | |
| download | rust-3dec71ea8f3dc2a74f6f125e580fa8b36c91dee9.tar.gz rust-3dec71ea8f3dc2a74f6f125e580fa8b36c91dee9.zip | |
Fix display of aliases in rustdoc search results
Diffstat (limited to 'src/librustdoc/html/static/css')
| -rw-r--r-- | src/librustdoc/html/static/css/rustdoc.css | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css index 9209915895a..94e778406f8 100644 --- a/src/librustdoc/html/static/css/rustdoc.css +++ b/src/librustdoc/html/static/css/rustdoc.css @@ -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; |
