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;
}
@@ -1,5 +0,0 @@
<div class="layout-footer">
<img src="assets/layout/images/{{layoutService.config().colorScheme === 'light' ? 'logo-dark' : 'logo-white'}}.svg" alt="Logo" height="20" class="mr-2"/>
by
<span class="font-medium ml-2">Aditya C.</span>
</div>
@@ -1,10 +0,0 @@
import { Component } from '@angular/core';
import { LayoutService } from "./service/app.layout.service";
@Component({
selector: 'app-footer',
templateUrl: './app.footer.component.html'
})
export class AppFooterComponent {
constructor(public layoutService: LayoutService) { }
}
@@ -7,7 +7,6 @@
<div class="layout-main">
<router-outlet></router-outlet>
</div>
<app-footer></app-footer>
</div>
<app-config></app-config>
<div class="layout-mask"></div>
@@ -4,7 +4,6 @@ import { filter, Subscription } from 'rxjs';
import { LayoutService } from "./service/app.layout.service";
import { AppSidebarComponent } from "./app.sidebar.component";
import { AppTopBarComponent } from './app.topbar.component';
import {AppFooterComponent} from "./app.footer.component";
import {AppConfigComponent} from "./config/app.config.component";
import {NgClass} from '@angular/common';
import {ToastModule} from 'primeng/toast';
@@ -13,7 +12,6 @@ import {ToastModule} from 'primeng/toast';
selector: 'app-layout',
imports: [
RouterOutlet,
AppFooterComponent,
AppConfigComponent,
AppSidebarComponent,
AppTopBarComponent,
@@ -13,7 +13,6 @@ import { AppMenuComponent } from './app.menu.component';
import { AppMenuitemComponent } from './app.menuitem.component';
import { RouterModule } from '@angular/router';
import { AppTopBarComponent } from './app.topbar.component';
import { AppFooterComponent } from './app.footer.component';
import { AppConfigModule } from './config/config.module';
import { AppSidebarComponent } from "./app.sidebar.component";
import { AppLayoutComponent } from "./app.layout.component";
@@ -37,7 +36,6 @@ import { AppLayoutComponent } from "./app.layout.component";
AppConfigModule,
AppMenuitemComponent,
AppTopBarComponent,
AppFooterComponent,
AppMenuComponent,
AppSidebarComponent,
AppLayoutComponent