Problem/Motivation

When rendering a button in outlook 2016 or 2019 the color of the text is not showing correctly, making the button unreadable.

Button unreadable

Steps to reproduce

- Create an activity that will send out an email, for example commenting or liking content.
- Open in outlook 2016 and notice the button text is unreadable.

Proposed resolution

It seems that Outlook 2016/2019 is having issues with the !important that is connected to the button.
<a href="link" class="btn-=link btn-link-bg btn-link-one" style="font-weight: 700; display: block; position: relative; margin-bottom: 15px; border-radius: 0px; border: 1px solid #1b4699; padding: 9px 25px 7px; text-align: center; text-decoration: none; background-color: #1b4699; color: #ffffff !important;">Bekijk alle leden</a>

After closer inspection the important tag also doesn't seem to be needed here, so we can safely remove it, and it should work for all situations.

button fixed

Remaining tasks

User interface changes

API changes

Data model changes

Comments

robertragas created an issue. See original summary.

robertragas’s picture

Attached patch

robertragas’s picture

Status: Active » Needs review
viniciusrp’s picture

Issue summary: View changes
Status: Needs review » Reviewed & tested by the community
StatusFileSize
new32.7 KB

I tested and the button color is working.

  • robertragas committed 5d65da2d on 2.5.x
    Issue #3425993 - Remove the important styling for button text color as...
robertragas’s picture

Status: Reviewed & tested by the community » Fixed

merged and landing in 2.5.14 and up

  • robertragas committed 97b20915 on 2.6.x
    Issue #3425993 - Remove the important styling for button text color as...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

agamich’s picture

Version: 2.5.x-dev » 2.5.14