Ticket: -Dataset Template chip should be one line (no wrap) with a fixed width. In hover the full text should be displayed.
This commit is contained in:
parent
55dd9800e9
commit
c8844fba08
|
@ -32,7 +32,7 @@
|
|||
|
||||
<mat-icon class="gray-icon pt-2">assignment</mat-icon>
|
||||
<div class="pt-1">
|
||||
<div class="chip ml-2 mr-2">{{ dataset.profile }}</div>
|
||||
<div matTooltip="{{ dataset.profile }}" class="chip ml-2 mr-2">{{ dataset.profile }}</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -29,6 +29,7 @@ h4 {
|
|||
|
||||
.about-item {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.about-item .length {
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
|
||||
<mat-icon class="gray-icon pt-2">assignment</mat-icon>
|
||||
<div *ngFor="let profile of dmp.associatedProfiles" class="pt-1">
|
||||
<div class="chip ml-2 mr-2">{{profile.label}}</div>
|
||||
<div matTooltip="{{profile.label}}" class="chip ml-2 mr-2">{{profile.label}}</div>
|
||||
</div>
|
||||
<p>Published {{dmp.creationTime | date: "shortDate"}}</p>
|
||||
</div>
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
|
||||
.about-item {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.about-item .length {
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<div class="col" (click)="itemClicked()">
|
||||
<div class="row">
|
||||
<div class="col-12 gray-container container-header">
|
||||
{{dmp.projectabbreviation}}
|
||||
{{dmp.projectAbbreviation}}
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
|
@ -26,7 +26,7 @@
|
|||
|
||||
<mat-icon class="gray-icon pt-2">assignment</mat-icon>
|
||||
<div *ngFor="let profile of dmp.associatedProfiles" class="pt-1">
|
||||
<div class="chip ml-2 mr-2">{{profile.label}}</div>
|
||||
<div matTooltip="{{profile.label}}" class="chip ml-2 mr-2">{{profile.label}}</div>
|
||||
</div>
|
||||
<p>Published {{dmp.creationTime | date: "shortDate"}}</p>
|
||||
</div>
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
|
||||
.about-item {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.about-item .length {
|
||||
|
|
|
@ -58,7 +58,11 @@ $theme: mat-light-theme($primary, $accent);
|
|||
background-color: rgb(70, 135, 230);
|
||||
color: #fff;
|
||||
text-transform: uppercase;
|
||||
font-weight: 500;
|
||||
font-weight: 500;
|
||||
max-width: 160px;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.bordered-chip {
|
||||
|
@ -68,7 +72,11 @@ $theme: mat-light-theme($primary, $accent);
|
|||
background-color: rgb(236, 241, 249);
|
||||
color: rgb(68, 114, 196);
|
||||
text-transform: uppercase;
|
||||
font-weight: 500;
|
||||
font-weight: 500;
|
||||
max-width: 160px;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.squared-chip {
|
||||
|
@ -76,7 +84,11 @@ $theme: mat-light-theme($primary, $accent);
|
|||
border: 0.1em solid rgb(236, 241, 249);
|
||||
border-radius: 0.5em;
|
||||
background-color: rgb(246, 246, 246);
|
||||
color: rgb(127, 127, 127);
|
||||
color: rgb(127, 127, 127);
|
||||
max-width: 160px;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
mat-icon {
|
||||
|
|
Loading…
Reference in New Issue