]> git.lizzy.rs Git - rust.git/commitdiff
rustdoc: Fix search result layout for enum variants and struct fields
authorOliver Middleton <olliemail27@gmail.com>
Sat, 25 Jun 2016 22:24:10 +0000 (23:24 +0100)
committerGitHub <noreply@github.com>
Sat, 25 Jun 2016 22:24:10 +0000 (23:24 +0100)
src/librustdoc/html/static/rustdoc.css

index 6d2b315502e260222c3511f5c41b4d6af4f98274..b45e059e6d5e9d87c671223d20dfa3da090e6327 100644 (file)
@@ -659,7 +659,7 @@ span.since {
     margin-bottom: 25px;
 }
 
-.variant, .structfield {
+.enum .variant, .struct .structfield {
     display: block;
 }