Improve the styling of related DPMs on user profile

This commit is contained in:
George Kalampokis 2020-01-30 12:51:01 +02:00
parent 6c73ed5131
commit f5de71d0ad
2 changed files with 6 additions and 3 deletions

View File

@ -32,9 +32,8 @@
</div>
<div>
<mat-list>
<mat-list-item (click)="navigateToDmp(dmp)"
*ngFor="let dmp of userProfile.associatedDmps">
<div class="clickable">
<mat-list-item *ngFor="let dmp of userProfile.associatedDmps">
<div class="clickable" (click)="navigateToDmp(dmp)">
{{dmp.label}}
</div>
<div class="ml-2">

View File

@ -1,6 +1,10 @@
.clickable{
cursor: pointer;
}
.clickable:hover {
//text-decoration: underline; //Alternative
color: #00b29f !important;
}
// .two-line-mat-option {
// height: 3.5em;
// line-height: 1.2em;