Skip to content

Top bar covers target of anchor link #403

Closed
@bluss

Description

@bluss

If you go to search inside a specific crate, the search results for methods are focused in a way so that the method you want to see is covered by the top bar.

One example is this link: https://docs.rs/chrono/0.4.9/chrono/struct.Date.html#method.timezone

To reproduce

  1. Go to https://docs.rs/chrono/0.4.9/
  2. Search for timezone
  3. Click the chrono::Date::timezone result (a method)
  4. The method is focused, aligned flush to the top of the view — this is beneath the top bar, so it's not actually visible — scroll up a bit to see the method you clicked

Tested in browser: Firefox 68.0.2 and Chromium 76.0.3809

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions