Removed footer and layout fixes

This commit is contained in:
aditya.chandel
2024-12-27 19:24:06 -07:00
parent 9f8a1f1269
commit d3a94062aa
11 changed files with 13 additions and 34 deletions
@@ -46,9 +46,9 @@
</div>
<div class="book-browser-footer" *ngIf="selectedBooks.size > 0">
<div class="footer-items-container">
<p-button *ngIf="(entityType$ | async) === 'Library'" icon="pi pi-ellipsis-v" label="Options" severity="primary" [outlined]="true" (click)="menu.toggle($event)"></p-button>
<p-button *ngIf="(entityType$ | async) === 'Shelf'" icon="pi pi-minus-circle" label="Unshelf" severity="primary" [outlined]="true" (click)="unshelfBooks()"></p-button>
<p-button icon="pi pi-times" label="Deselect" severity="warning" [outlined]="true" (click)="deselectAllBooks()"></p-button>
<p-button *ngIf="(entityType$ | async) === 'Library'" icon="pi pi-ellipsis-v" label="Options" severity="info" (click)="menu.toggle($event)"></p-button>
<p-button *ngIf="(entityType$ | async) === 'Shelf'" icon="pi pi-minus-circle" label="Unshelf" severity="info" (click)="unshelfBooks()"></p-button>
<p-button icon="pi pi-times" label="Deselect" severity="warning" (click)="deselectAllBooks()"></p-button>
</div>
<p-menu #menu [model]="multiSelectItems" [popup]="true" appendTo="body"></p-menu>
</div>
@@ -31,15 +31,15 @@
.virtual-scroller {
width: 100%;
height: calc(100vh - 210px);
height: calc(100vh - 11.5rem);
padding: 1rem;
box-sizing: border-box;
overflow-y: auto;
}
.virtual-scroller-item {
height: 210px;
width: 130px;
height: 220px;
width: 135px;
}
.grid {
@@ -47,7 +47,6 @@
grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
gap: 1.3rem;
padding: 1rem;
width: 100%;
overflow: hidden;
align-items: start;
}