Skip to content

"Get Started" button on the home page has double padding #2146

Closed as not planned
@Snapstromegon

Description

@Snapstromegon

Page(s) Affected

https://www.rust-lang.org/

What needs to be fixed?

The "Get Started" button has a pl3 pr3 class while it's already in a ph3 container. This leads to it not being aligned with all other content on the page on narrow screens:

Image

Image

Suggested Improvement

Remove the pl3 pr3 class from the wrapping div in https://github.com/rust-lang/www.rust-lang.org/blob/69781ef721035a9b913dc456ac90e055692518c4/templates/index.html.hbs#L10C48-L10C55

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-DesignUI / UX of the website.C-BugSomething isn't working.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions