|
|
@@ -26,6 +26,7 @@ export class SubcontratistComponent implements OnInit, AfterViewInit {
|
|
|
public changeOnTab : boolean = false;
|
|
|
|
|
|
public btnSmall: boolean;
|
|
|
+ public cardSmall: boolean;
|
|
|
|
|
|
// Para Subcontratistas
|
|
|
public txtBuscadorSubcontratists: string;
|
|
|
@@ -53,6 +54,7 @@ export class SubcontratistComponent implements OnInit, AfterViewInit {
|
|
|
this.isLoading = false;
|
|
|
this.isLoadingForm = false;
|
|
|
this.btnSmall = false;
|
|
|
+ this.cardSmall = false;
|
|
|
|
|
|
this.txtBuscadorSubcontratists = '';
|
|
|
this.displayedColumnsSubcontratists = [
|
|
|
@@ -192,6 +194,7 @@ public tabChange(tab : any){
|
|
|
// Método para reajustar los botones según sus dimensiones
|
|
|
public onResize(): void {
|
|
|
this.btnSmall = window.innerWidth <= 1885;
|
|
|
+ this.cardSmall = window.innerWidth >= 722;
|
|
|
}
|
|
|
|
|
|
}
|