rustdoc: remove no-op source sidebar opacity

These rules were added in dc2c972334 to work
with CSS transitions. They're otherwise redundant, since the `visibility`
property already hides everything.

dc2c972334/src/librustdoc/html/static/css/rustdoc.css (L350-L354)

The transition was remove with 237d62588d, but
the now-redundant `opacity` property was not.
This commit is contained in:
Michael Howell 2022-09-29 15:33:02 -07:00
parent 65445a571c
commit 6d02a4dc33

View file

@ -442,7 +442,6 @@ img {
}
.source .sidebar > *:not(#sidebar-toggle) {
opacity: 0;
visibility: hidden;
}
@ -451,7 +450,6 @@ img {
}
.source-sidebar-expanded .source .sidebar > *:not(#sidebar-toggle) {
opacity: 1;
visibility: visible;
}