sidebar se oculta en resoluciones md
This commit is contained in:
parent
726d08bd06
commit
d185183656
@ -21,7 +21,7 @@ import { FooterComponent } from "../footer/footer.component";
|
||||
export class LayoutComponent implements OnInit {
|
||||
isSidebarVisible: boolean = true;
|
||||
window = window; // Exposición de window para su uso en el template
|
||||
private readonly MOBILE_BREAKPOINT = 420; // Breakpoint para ocultar sidebar automáticamente
|
||||
private readonly MOBILE_BREAKPOINT = 991; // Breakpoint para ocultar sidebar automáticamente
|
||||
|
||||
ngOnInit() {
|
||||
// Comprobar el ancho inicial y ajustar el sidebar
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user