Docs.rs: Clicking question mark for help menu blurs whole page

Created on 7 Oct 2020  路  3Comments  路  Source: rust-lang/docs.rs

Steps to reproduce:

  1. Visit a docs page, like https://docs.rs/ureq/1.5.1/ureq/
  2. Click the '?' icon next to the search box, OR press ? on the keyboard.

(On Chrome 85.0.4183.121 (Official Build) (64-bit), Linux)

Expected result:

Help menu pops up.

Actual result:

Help menu pops up, but it is blurred along with the whole page.

image

A-frontend A-rustdoc-css C-bug

Most helpful comment

This was fixed by #1080

All 3 comments

Rustdoc must have recently changed its styles. It's applying blur to body, not just to the <section id=main>. @GuillaumeGomez can you warn docs.rs before making changes like this?

There are two possible solutions:

body.blur > :not(#help) {
    filter: blur(8px);
    -webkit-filter: blur(8px);
    opacity: .7;
}

It's been like this for ages, no?

This was fixed by #1080

Was this page helpful?
0 / 5 - 0 ratings