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>
<div> <div>
<mat-list> <mat-list>
<mat-list-item (click)="navigateToDmp(dmp)" <mat-list-item *ngFor="let dmp of userProfile.associatedDmps">
*ngFor="let dmp of userProfile.associatedDmps"> <div class="clickable" (click)="navigateToDmp(dmp)">
<div class="clickable">
{{dmp.label}} {{dmp.label}}
</div> </div>
<div class="ml-2"> <div class="ml-2">

View File

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