Make project-toolbar sticky

This commit is contained in:
ziajka 2018-04-09 11:47:51 +02:00
parent e38bc532b2
commit 8280532764
2 changed files with 9 additions and 4 deletions

View File

@ -107,9 +107,10 @@ export class MapComponent implements OnInit, OnChanges, OnDestroy {
}
public getSize(): Size {
return new Size(
document.documentElement.clientWidth,
document.documentElement.clientHeight);
// return new Size(
// document.documentElement.clientWidth,
// document.documentElement.clientHeight);
return new Size(2000, 2000);
}
private changeLayout() {

View File

@ -23,12 +23,16 @@ g.node:hover {
.project-toolbar {
width: 70px;
position: absolute;
position: fixed;
top: 20px;
left: 20px;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.project-toolbar .mat-toolbar-multiple-rows {
width: auto !important;
}
.loading-spinner {
position: absolute;
top: 50%;