You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just wanted to let you know that centered buttons show up left-aligned on the gmail app for android.
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.
I have been unable to fix this myself and the suggested fix here did not fix the issue for me. I continue to see the button left-aligned in the Gmail app on Android. Any thoughts?
Please ignore my Jul 7 comment. I tried this fix again today and it DOES work for me. I must have done something incorrectly during my last attempt. Thanks @pranksinatra!
Just wanted to let you know that centered buttons show up left-aligned on the gmail app for android.
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 astyle="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.
The text was updated successfully, but these errors were encountered: