Skip to content

Left-aligned Buttons on Gmail App in Android #4

Description

@micahjon

Just wanted to let you know that centered buttons show up left-aligned on the gmail app for android.

screenshot_2015-01-21-13-05-14

I fixed this by adding a .centered-button-container class for the containers of buttons that are supposed to be centered. The problem is that gmail is ignoring the width="100%" on the <table> and needs a style="width: 100% !important". This class gets inlined of course.

HTML Before:
`

`

HTML After:
`

`

CSS After:
.centered-button-container { width:100% !important; }

If you'd like, I can submit a pull request. And thanks for a super-reliable template.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions