Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CTA Outlook breaks to new line #15

Closed
innerjoin opened this issue Nov 10, 2022 · 2 comments
Closed

CTA Outlook breaks to new line #15

innerjoin opened this issue Nov 10, 2022 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@innerjoin
Copy link
Collaborator

The CTA button breaks to a new line for longer texts.

image

This is due to a fixed width which shouldn't be there. See:

<v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" style="height:30pt; width:110pt; v-text-anchor:middle;" arcsize="{{ ctaBorderRadius }}%" strokeweight="2px" strokecolor="{{ ctaBorderColor }}" fillcolor="{{ ctaBackgroundColor }}"><w:anchorlock/>

@innerjoin innerjoin added the bug Something isn't working label Nov 10, 2022
@innerjoin innerjoin self-assigned this Nov 10, 2022
@innerjoin
Copy link
Collaborator Author

There is no easy fix for this. As stated in: https://www.litmus.com/blog/a-guide-to-bulletproof-buttons-in-email-design/, the VML based apporach is built on a fixed width an height.

@marleenjattke We should discuss the pros and cons of each option. I would favor a button that may not have rounded corners in outlook, but would be capable of handling different lenghts of text.

@innerjoin
Copy link
Collaborator Author

Closed by Release 1.1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant