Skip to content
Snippets Groups Projects
Commit f6ac55b9 authored by jojohoch's avatar jojohoch
Browse files

[player] Replace flex layout module in PagesLayoutComponent

parent 92d8b064
No related branches found
No related tags found
No related merge requests found
Pipeline #46507 passed
<div class="pages-container"
cdkScrollable
[fxLayout]="layoutAlignment">
[class.fx-column-start-stretch]="layoutAlignment === 'column'"
[class.fx-row-start-stretch]="layoutAlignment === 'row'">
<ng-container *ngTemplateOutlet="alwaysVisiblePagePosition === 'top' || alwaysVisiblePagePosition === 'left' ?
alwaysVisiblePageView :
scrollPagesView"></ng-container>
......
......@@ -2,6 +2,22 @@
scroll-snap-align: start;
}
.fx-column-start-stretch {
box-sizing: border-box;
display: flex;
flex-direction: column;
justify-content: start;
align-items: stretch;
}
.fx-row-start-stretch {
box-sizing: border-box;
display: flex;
flex-direction: row;
justify-content: start;
align-items: stretch;
}
.concat-scroll-snap {
scroll-snap-type: y mandatory;
scroll-padding: 0;
......
......@@ -13,7 +13,7 @@ import { NativeEventService } from '../../../services/native-event.service';
@Component({
selector: 'aspect-pages-layout',
templateUrl: './pages-layout.component.html',
styleUrls: ['./pages-layout.component.css']
styleUrls: ['./pages-layout.component.scss']
})
export class PagesLayoutComponent implements OnInit, AfterViewInit, OnDestroy {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment