Raj N
Raj N

Reputation: 249

how to set different color to routerLink , on Chrome its white is same as background so text is not visible

how to set different color to routerLink , on Chrome its white is same as background so it's text is not visible.

 <div class="slds-truncate " style="width: 45ch;overflow: hidden;">
                    <span title={{form.title}}><a routerLink="/form/{{form.id}}/edit"  routerLinkActive="router-link-active" >{{form.title}}</a></span>
     </div>

Upvotes: 0

Views: 1752

Answers (1)

Raj N
Raj N

Reputation: 249

Solved by setting style="color: #0070d2" to

 <div class="slds-truncate " style="width: 45ch;overflow: hidden;">
                    <span title={{form.title}}><a routerLink="/form/{{form.id}}/edit"  routerLinkActive="router-link-active" style="color: #0070d2">{{form.title}}</a></span>
     </div>

Upvotes: 1

Related Questions