Fix drops and dropdowns in avalableOn, result-preview and showAuthors
This commit is contained in:
parent
befbfd071b
commit
7906b056c9
|
@ -26,9 +26,10 @@ import {RouterHelper} from "../../utils/routerHelper.class";
|
|||
<icon [flex]="true" [name]="(isOpen?'arrow_drop_up':'arrow_drop_down')"></icon>
|
||||
</span>
|
||||
</a>
|
||||
<div #dropElement uk-drop="mode: click; pos: bottom-left;"
|
||||
class="uk-drop download-drop uk-card uk-card-default uk-padding-small uk-padding-remove-horizontal uk-text-small uk-height-max-large uk-overflow-auto">
|
||||
<ng-container *ngTemplateOutlet="availableOnList"></ng-container>
|
||||
<div #dropElement uk-drop="mode: click; pos: bottom-left; flip: false; shift: false" class="uk-drop download-drop">
|
||||
<div class="uk-card uk-card-default uk-padding-small uk-padding-remove-horizontal uk-text-small uk-height-max-large uk-overflow-auto">
|
||||
<ng-container *ngTemplateOutlet="availableOnList"></ng-container>
|
||||
</div>
|
||||
</div>
|
||||
</ng-container>
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ import {properties} from "../../../../environments/environment";
|
|||
{{author.fullName + ";"}}
|
||||
</span>
|
||||
</a>
|
||||
<div *ngIf="!isMobile" class="default-dropdown uk-margin-remove-top uk-dropdown orcid-dropdown" uk-dropdown="mode:click; offset: 4" style="min-width: 465px !important;">
|
||||
<div *ngIf="!isMobile" class="default-dropdown uk-margin-remove-top uk-dropdown orcid-dropdown" uk-dropdown="mode:click; offset: 4; container: true" style="min-width: 465px !important;">
|
||||
<ng-container *ngTemplateOutlet="dropdown"></ng-container>
|
||||
</div>
|
||||
<mobile-dropdown *ngIf="isMobile" [toggle]="toggle">
|
||||
|
|
|
@ -216,20 +216,22 @@
|
|||
[name]="result.measure.bip[0].icon"></icon>
|
||||
<span class="uk-margin-xsmall-left">{{result.measure.bip[0].value}}</span>
|
||||
</a>
|
||||
<div uk-drop="pos: top-right" class="uk-card uk-card-default uk-border uk-box-no-shadow uk-padding-small">
|
||||
<table>
|
||||
<tr *ngFor="let metric of result.measure.bip">
|
||||
<td class="bip-icon">
|
||||
<icon [flex]="true" [ratio]="0.7" [name]="metric.icon"></icon>
|
||||
</td>
|
||||
<td class="uk-text-capitalize">{{metric.name}}</td>
|
||||
<td class="uk-text-bolder">{{metric.value}}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="uk-margin-top uk-flex uk-flex-middle uk-flex-center">
|
||||
<img class="uk-margin-xsmall-right" width="15" src="assets/common-assets/bip-minimal.svg"
|
||||
loading="lazy" alt="BIP!">
|
||||
<span class="uk-text-uppercase">Powered by <span class="uk-text-bolder">BIP!</span></span>
|
||||
<div uk-drop="pos: top-right" class="uk-drop">
|
||||
<div class="uk-card uk-card-default uk-border uk-box-no-shadow uk-padding-small">
|
||||
<table>
|
||||
<tr *ngFor="let metric of result.measure.bip">
|
||||
<td class="bip-icon">
|
||||
<icon [flex]="true" [ratio]="0.7" [name]="metric.icon"></icon>
|
||||
</td>
|
||||
<td class="uk-text-capitalize">{{metric.name}}</td>
|
||||
<td class="uk-text-bolder">{{metric.value}}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="uk-margin-top uk-flex uk-flex-middle uk-flex-center">
|
||||
<img class="uk-margin-xsmall-right" width="15" src="assets/common-assets/bip-minimal.svg"
|
||||
loading="lazy" alt="BIP!">
|
||||
<span class="uk-text-uppercase">Powered by <span class="uk-text-bolder">BIP!</span></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</ng-container>
|
||||
|
|
Loading…
Reference in New Issue