Skip to content

Mobile vs Desktop CSS Negative Margin for ".row" Inconsistent #8938

@mattnish

Description

@mattnish

Perhaps I am missing something, but could you please explain why on desktop the columns' content lines up with the container's edges perfectly and on mobile it doesn't?

On desktop, using the .row's -15px margin and the columns 15px padding makes the column line up with the container. Awesome. On mobile, though, the .row no longer has the -15px margin, and so the column automatically is pushed in 15px. This is problematic on designs that need to go the full 100% on both desktop and mobile. Am I missing something?

Thanks!

Desktop:
screen shot 2013-07-31 at 7 16 48 pm

Mobile:
screen shot 2013-07-31 at 7 17 20 pm

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions