Skip to content

Commit 27e4ecd

Browse files
authored
rustdoc: Fix search result layout for enum variants and struct fields
1 parent b8214dc commit 27e4ecd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/html/static/rustdoc.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -659,7 +659,7 @@ span.since {
659659
margin-bottom: 25px;
660660
}
661661

662-
.variant, .structfield {
662+
.enum .variant, .struct .structfield {
663663
display: block;
664664
}
665665

0 commit comments

Comments
 (0)