]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #102491 - notriddle:notriddle/sidebar-opacity, r=GuillaumeGomez
authorMatthias Krüger <matthias.krueger@famsik.de>
Fri, 30 Sep 2022 08:22:38 +0000 (10:22 +0200)
committerGitHub <noreply@github.com>
Fri, 30 Sep 2022 08:22:38 +0000 (10:22 +0200)
commite36c3c12ccacc13dbb6c4cd9c163d1aa53be8251
tree5e99ce5e8a60630fa91fec99032b49f1be941cd4
parentc4a1876900ee75470769a9a66469b14058803905
parentdb376ee7abf9767cda1ff69c8cffd4ead68fd4a8
Rollup merge of #102491 - notriddle:notriddle/sidebar-opacity, r=GuillaumeGomez

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.

https://github.com/rust-lang/rust/blob/dc2c9723343c985740be09919236a6e96c4e4433/src/librustdoc/html/static/css/rustdoc.css#L350-L354

The transition was remove with 237d62588ddb4b7a93f3f5c61ea9253eba30ed5d, but the now-redundant `opacity` property was not.
src/librustdoc/html/static/css/rustdoc.css