mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2025-04-26 18:13:11 +00:00
(AppComponent) Moved boxed class to the body Fixed: Horizontal layout navbar covers entire screen
50 lines
1.1 KiB
SCSS
50 lines
1.1 KiB
SCSS
@import "src/@fuse/scss/fuse";
|
|
|
|
vertical-layout-3 {
|
|
display: flex;
|
|
flex: 1 1 auto;
|
|
width: 100%;
|
|
height: 100%;
|
|
|
|
#main {
|
|
position: relative;
|
|
display: flex;
|
|
flex: 1 1 auto;
|
|
flex-direction: column;
|
|
width: 100%;
|
|
height: 100%;
|
|
z-index: 1;
|
|
min-width: 0;
|
|
|
|
// Container 1 (Scrollable)
|
|
> .container {
|
|
position: relative;
|
|
display: flex;
|
|
flex: 1 1 auto;
|
|
flex-direction: column;
|
|
width: 100%;
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
-webkit-overflow-scrolling: touch;
|
|
transform: translateZ(0);
|
|
|
|
// Container 2
|
|
> .container {
|
|
position: relative;
|
|
display: flex;
|
|
flex: 1 0 auto;
|
|
width: 100%;
|
|
min-width: 0;
|
|
padding: 32px;
|
|
|
|
// Content component
|
|
> content {
|
|
flex: 1 1 auto;
|
|
min-width: 0;
|
|
|
|
@include mat-elevation(3);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |