mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2024-10-30 01:08:47 +00:00
(layouts/dense) Fixed: Navigation appearance doesn't set correctly on small devices
This commit is contained in:
parent
443a103d6f
commit
b96182c848
|
@ -66,6 +66,9 @@ export class DenseLayoutComponent implements OnInit, OnDestroy
|
|||
|
||||
// Check if the screen is small
|
||||
this.isScreenSmall = !matchingAliases.includes('md');
|
||||
|
||||
// Change the navigation appearance
|
||||
this.navigationAppearance = this.isScreenSmall ? 'default' : 'dense';
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user