rustdoc: remove no-op source sidebar opacity

These rules were added in dc2c9723343c985740be09919236a6e96c4e4433 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 237d62588ddb4b7a93f3f5c61ea9253eba30ed5d, 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;
}