Fix AW-2361
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good

This commit is contained in:
Willem Dantuma 2021-05-25 22:12:32 +02:00
parent fbe0413c6a
commit 6f77df0f61
2 changed files with 41 additions and 24 deletions

View File

@ -52,6 +52,7 @@
<div *ngIf="noContent">
<fm-map-map-search #mapSearch [openedModalName]="state.openedModalName" (onOpenModal)="handleOpenModal($event)" (onCloseModal)="handleCloseModal()" [ngClass]="{'menuVisible':state.menuVisible}" (onToggleMenu)="handleToggleMenu($event)" (onSearchCollapse)="handleSearchCollapse($event)" (onSearchExpand)="handleSearchExpand($event)" [collapsed]="state.searchCollapsed" [searchMinified]="state.searchMinified" (onSearch)="handleSearch($event)" (onClear)="handleClearSearch($event)" [filterOptions]="state.queryState" [clearEnabled]="state.clearEnabled" [period]="state.period"></fm-map-map-search>
</div>
<div class="side-panel-container">
<fm-side-panel [resizeable]="true" [visible]="state.panelVisible && noContent" [collapsed]="state.panelCollapsed" [collapsable]="false">
<div class="panel-wrapper" *ngIf="noContent">
<div class="panel-top bg-secondary" *ngIf="!(state.searchMinified)">
@ -75,6 +76,7 @@
<fm-side-panel [resizeable]="true" [visible]="!noContent">
<router-outlet></router-outlet>
</fm-side-panel>
</div>
</aol-map>
</ng-container>

View File

@ -1,6 +1,6 @@
@import "~bootstrap/scss/bootstrap.scss";
aol-map { width:100%;}
aol-map { position:absolute;width:100%;height:calc(100vh + 4rem);}
.arrow {
top: 3rem;
@ -49,11 +49,22 @@ aol-map { width:100%;}
.control-container {
position: absolute;
right: 1em;
bottom: 1em;
bottom: 8.1em;
}
.fullscreen .control-container {
bottom: 1em;
bottom: 5em;
}
.side-panel-container {
position: absolute;
top:0em;
bottom: 7.1em;
width: 100%;
}
.fullscreen .side-panel-container {
bottom: 4em;
}
switch2d3d {
@ -125,6 +136,10 @@ timespan.menuVisible {
.panel-top {
height: 8.1rem;
}
.side-panel-container {
width: auto;
}
}
.map {