Closed ee92 closed 2 years ago
Hello @ee92 ,
I don't really see any difference in the visited link vs. not visited. Otherwise, I will forward the issue about the inline style to the responsible team.
Best regards, Tereza
Hello @SAP/ui5-webcomponents-topic-b,
When inline style like style="color: green" is added to the ui5-link tag, it does not get applied. To reproduce, open the playground and add style="color: green" to one of the links.
Please, have a look.
Best regards, Tereza
@terezamch Thanks for looking into it!
There is a difference however, which can be reproduced on the demo page:
css rule:
It's not a huge deal, but does affect a lot of links, and with no way to change the color it is a blocker for us.
Bug Description
ui5-link does not respect the color from inline styles the change was introduced here: https://github.com/SAP/ui5-webcomponents/commit/ee44117ea11e6c0eec36ac9079fc90aa6356143d#diff-33a57c65c7633f6a842a56a7f7372857fcfd1c8144f0e1c295193b2735d809d8R60-R66
* another change introduced is that the link color is no longer the same for all states, and now has a different color for visited links
Expected Behavior
Expect the ui5-link to respect color from inline styles.
Steps to Reproduce
style="color: green"
Context
Priority
Stakeholder Info (if applicable)