Skip to content
Snippets Groups Projects
Commit 2b86f305 authored by Xiao Gui's avatar Xiao Gui
Browse files

chore: receptor caption ui fix

parent 3bbc65ce
No related branches found
No related tags found
No related merge requests found
<label for="fingerprint-cmp" class="d-block mat-h4 mt-4 text-muted">
Fingerprint
<label for="fingerprint-cmp" class="d-inline mat-h4 mt-4 text-muted">
Fingerprint :
</label>
<ng-container *ngFor="let datum of (data$ | async | filterReceptorByType : '_fp_')">
......@@ -10,13 +10,15 @@
}">
</ng-container>
<ng-container *ngTemplateOutlet="datasetPreviewTmpl; context: {
id: 'fingerprint-cmp',
kgId: (feature['@id'] | getId),
filename: datum['@id'],
datum: datum
}">
</ng-container>
<div class="d-block">
<ng-container *ngTemplateOutlet="datasetPreviewTmpl; context: {
id: 'fingerprint-cmp',
kgId: (feature['@id'] | getId),
filename: datum['@id'],
datum: datum
}">
</ng-container>
</div>
</ng-container>
......@@ -54,8 +56,8 @@
<ng-template #prArTmpl let-label="label" let-filter="filter">
<ng-container *ngFor="let datum of (data$ | async | filterReceptorByType : selectedReceptor | filterReceptorByType : filter); let first = first">
<ng-template [ngIf]="first">
<label [attr.for]="label + '-cmp'" class="d-block mat-h4 mt-4 text-muted">
{{ label }}
<label [attr.for]="label + '-cmp'" class="d-inline mat-h4 mt-4 text-muted">
{{ label }} :
</label>
</ng-template>
......@@ -65,13 +67,15 @@
}">
</ng-container>
<ng-container *ngTemplateOutlet="datasetPreviewTmpl; context: {
id: label + '-cmp',
kgId: (feature['@id'] | getId),
filename: datum['@id'],
datum: datum
}">
</ng-container>
<div class="d-block">
<ng-container *ngTemplateOutlet="datasetPreviewTmpl; context: {
id: label + '-cmp',
kgId: (feature['@id'] | getId),
filename: datum['@id'],
datum: datum
}">
</ng-container>
</div>
</ng-container>
</ng-template>
......@@ -121,6 +125,7 @@
let-filename="filename"
let-tooltip="tooltip">
<a [href]="url"
class="d-inline-block"
[download]="filename"
[matTooltip]="tooltip">
<button mat-icon-button>
......@@ -130,7 +135,7 @@
</ng-template>
<ng-template #labelTmpl let-label="label" let-for="for">
<label [attr.for]="for" class="text-muted">
<label [attr.for]="for" class="d-inline text-muted">
<span>
{{ label }}
</span>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment