Skip to content

Hide the search crate text field by default #118

Closed
@antoyo

Description

@antoyo

Hi!

Some web plugins/web browsers have a shortcut to focus the first text field in a page, which is what I use in Rust documentations to start a search within the crate.
However, on docs.rs, there's another "Find crate" text field which is before the documentation search field which forbids me to use this shortcut.

So, it would be nice to hide the "Find crate" text field by default, requiring to click a button or hover to show the text field.
Another solution that would make it after the other text field would also fix this issue.

If you need help to implement that, I can contribute.

Thanks.

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