Fixes bug on filters button position when clone dialog is open
This commit is contained in:
parent
b908df98d7
commit
d150469ba4
|
@ -13,7 +13,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="filter-btn" [style.right]="dialog.openDialogs.length > 0 ? '446px' : '0px'" [style.width]="scrollbar ? '57px' : '37px'" (click)="openFiltersDialog()">
|
<div class="filter-btn" [style.right]="dialog.getDialogById('filters') ? '446px' : '0px'" [style.width]="scrollbar ? '57px' : '37px'" (click)="openFiltersDialog()">
|
||||||
<button mat-raised-button class="p-0">
|
<button mat-raised-button class="p-0">
|
||||||
<mat-icon class="mr-4">filter_alt</mat-icon>
|
<mat-icon class="mr-4">filter_alt</mat-icon>
|
||||||
</button>
|
</button>
|
||||||
|
|
|
@ -242,6 +242,7 @@ export class DatasetListingComponent extends BaseComponent implements OnInit, IB
|
||||||
const dialogRef = this.dialog.open(DatasetCriteriaDialogComponent, {
|
const dialogRef = this.dialog.open(DatasetCriteriaDialogComponent, {
|
||||||
width: '456px',
|
width: '456px',
|
||||||
height: '100%',
|
height: '100%',
|
||||||
|
id: 'filters',
|
||||||
restoreFocus: false,
|
restoreFocus: false,
|
||||||
data: {
|
data: {
|
||||||
isPublic: this.isPublic,
|
isPublic: this.isPublic,
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
<p class="mt-4 pt-2">{{'DMP-LISTING.TEXT-INFO-QUESTION' | translate}} <a class="zenodo-link" href="https://zenodo.org/communities/liber-dmp-cat/?page=1&size=20" target="_blank">{{'DMP-LISTING.LINK-ZENODO' | translate}}</a> {{'DMP-LISTING.GET-IDEA' | translate}}</p>
|
<p class="mt-4 pt-2">{{'DMP-LISTING.TEXT-INFO-QUESTION' | translate}} <a class="zenodo-link" href="https://zenodo.org/communities/liber-dmp-cat/?page=1&size=20" target="_blank">{{'DMP-LISTING.LINK-ZENODO' | translate}}</a> {{'DMP-LISTING.GET-IDEA' | translate}}</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="filter-btn" [style.right]="dialog.openDialogs.length > 0 ? '446px' : '0px'" [style.width]="scrollbar ? '57px' : '37px'" (click)="openFiltersDialog()">
|
<div class="filter-btn" [style.right]="dialog.getDialogById('filters') ? '446px' : '0px'" [style.width]="scrollbar ? '57px' : '37px'" (click)="openFiltersDialog()">
|
||||||
<button mat-raised-button class="p-0">
|
<button mat-raised-button class="p-0">
|
||||||
<mat-icon class="mr-4">filter_alt</mat-icon>
|
<mat-icon class="mr-4">filter_alt</mat-icon>
|
||||||
</button>
|
</button>
|
||||||
|
|
|
@ -349,6 +349,7 @@ export class DmpListingComponent extends BaseComponent implements OnInit, IBread
|
||||||
const dialogRef = this.dialog.open(DmpCriteriaDialogComponent, {
|
const dialogRef = this.dialog.open(DmpCriteriaDialogComponent, {
|
||||||
width: '456px',
|
width: '456px',
|
||||||
height: '100%',
|
height: '100%',
|
||||||
|
id: 'filters',
|
||||||
restoreFocus: false,
|
restoreFocus: false,
|
||||||
data: {
|
data: {
|
||||||
showGrant: this.showGrant,
|
showGrant: this.showGrant,
|
||||||
|
|
Loading…
Reference in New Issue