Overlay viewer outlet (#1054)

* separate outlet for the Viewer

* separate node viewer route

* update docs
This commit is contained in:
Denys Vuika
2019-04-03 09:43:14 +01:00
committed by Cilibiu Bogdan
parent 3a4cff505f
commit b69ed7da28
13 changed files with 320 additions and 161 deletions

View File

@@ -39,3 +39,5 @@
<app-file-uploading-dialog position="left"></app-file-uploading-dialog>
</adf-upload-drag-area>
<router-outlet name="viewer"></router-outlet>

View File

@@ -1,6 +1,16 @@
@mixin app-layout-theme($theme) {
.app-layout {
@include flex-column;
router-outlet[name='viewer'] + * {
width: 100%;
height: 100%;
z-index: 999;
position: absolute;
top: 0;
right: 0;
background-color: white;
}
}
@media screen and (max-width: 599px) {