]> git.lizzy.rs Git - rust.git/commit
rustdoc: simplify popover CSS
authorMichael Howell <michael@notriddle.com>
Tue, 13 Dec 2022 18:00:34 +0000 (11:00 -0700)
committerMichael Howell <michael@notriddle.com>
Tue, 13 Dec 2022 18:00:34 +0000 (11:00 -0700)
commit813584950dbdf180eae2fb64cbf009073a3c8d43
treed1df212b773b34dfa8ffedd9fd523490bfb1131b
parented620cf9690fdafed65845bf35c455db992fbba1
rustdoc: simplify popover CSS

* Merge the color-changing block into the regular rules, which was
  probably written that way because it used to be in the theme files,
  but has no reason to be written this way now that it's in rustdoc.css

* Get rid of redundant `display: block`, since `position: absolute`
  blockifies the layout anyway.
src/librustdoc/html/static/css/rustdoc.css