Skip to content

Commit

Permalink
Merge pull request #4986 from camptocamp/GSGMF-1024_fix-gmf-apps
Browse files Browse the repository at this point in the history
GSGMF-1024: fix gmf apps
  • Loading branch information
llienher authored Jul 2, 2019
2 parents 8a1952f + 65cb216 commit ea28054
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
3 changes: 1 addition & 2 deletions contribs/gmf/apps/iframe_api/index.html.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,8 @@
ngeo-bbox-query-map="::mainCtrl.map"
ngeo-bbox-query-active="mainCtrl.queryActive"
ngeo-bbox-query-autoclear="mainCtrl.queryAutoClear">

<div id="scaleline"></div>
</gmf-map>
<div id="scaleline"></div>
<gmf-layertree
gmf-layertree-dimensions="mainCtrl.dimensions"
gmf-layertree-map="::mainCtrl.map">
Expand Down
5 changes: 5 additions & 0 deletions contribs/gmf/src/controllers/iframe_api.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ gmf-layertree {
display: none;
}

#scaleline {
position: absolute;
bottom: 0;
}

.ol-scale-line {
bottom: $app-margin;
left: $app-margin;
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/src/controllers/mobile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ main button {

gmf-map {
position: static;
text-align: initial;
> div {
position: absolute;
top: 0;
Expand Down

0 comments on commit ea28054

Please sign in to comment.